Skip to content

Commit

Permalink
fix: #252: add 'coming soon' to the route depth
Browse files Browse the repository at this point in the history
  • Loading branch information
VanishMax committed Jan 14, 2025
1 parent 3687617 commit eb0964c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/pages/trade/ui/route-depth.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { Skeleton } from '@/shared/ui/skeleton';
import { Construction } from 'lucide-react';
import { Text } from '@penumbra-zone/ui/Text';

export const RouteDepth = () => {
return (
<div className='w-full h-[320px] p-4'>
<Skeleton />
<div className='w-full h-full flex flex-col items-center justify-center gap-2 text-text-secondary'>
<Construction className='size-8' />
<Text>Coming soon</Text>
</div>
);
};
2 changes: 1 addition & 1 deletion src/pages/trade/ui/route-tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const RouteTabs = () => {
onChange={value => setTab(value as RouteTabsType)}
options={[
{ value: RouteTabsType.Book, label: 'Route Book' },
{ value: RouteTabsType.Depth, label: 'Route Depth', disabled: true },
{ value: RouteTabsType.Depth, label: 'Route Depth' },
]}
/>
</Density>
Expand Down

0 comments on commit eb0964c

Please sign in to comment.