Skip to content

Commit

Permalink
fix(idea/frontend): program tabs order, skeleton card height (#1608)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitayutanov authored Aug 5, 2024
1 parent 1916e86 commit 8d1f92a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions idea/frontend/src/features/program/ui/programs/programs.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { List, Skeleton } from '@/shared/ui';
import CardPalceholderSVG from '@/shared/assets/images/placeholders/card.svg?react';
import CardPlaceholderSVG from '@/shared/assets/images/placeholders/card.svg?react';
import { LocalProgram } from '@/features/local-indexer';

import { Program } from '../../api';
Expand All @@ -19,7 +19,7 @@ function Programs({ vertical, noItemsSubheading, ...props }: Props) {
<ProgramCard key={program.id} program={program} vertical={vertical} />
);

const renderSkeleton = () => <Skeleton SVG={CardPalceholderSVG} disabled />;
const renderSkeleton = () => <Skeleton SVG={CardPlaceholderSVG} disabled />;

return (
<List
Expand Down
2 changes: 1 addition & 1 deletion idea/frontend/src/pages/program/program.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { ProgramBalance } from '@/features/balance';

import styles from './program.module.scss';

const TABS = ['Metadata/Sails', 'Messages', 'Vouchers', 'Events'];
const TABS = ['Metadata/Sails', 'Messages', 'Events', 'Vouchers'];

type Params = {
programId: HexString;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8d1f92a

Please sign in to comment.