From 6e39b9cd8433330bd96305756edc28f05a43a418 Mon Sep 17 00:00:00 2001 From: titix Date: Wed, 17 Jul 2024 12:18:33 -0300 Subject: [PATCH] style: fix imports --- src/components/index.ts | 2 ++ src/containers/Dashboard/index.tsx | 6 ++---- src/containers/Landing/index.tsx | 5 ++--- src/containers/index.ts | 1 + src/utils/misc.ts | 0 5 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 src/utils/misc.ts diff --git a/src/components/index.ts b/src/components/index.ts index c99907e..e2912ee 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -4,3 +4,5 @@ export * from './CustomHead'; export * from './Table'; export * from './SearchBar'; export * from './TotalValueLocked'; +export * from './Title'; +export * from './TitleBanner'; diff --git a/src/containers/Dashboard/index.tsx b/src/containers/Dashboard/index.tsx index e7fc3d1..2633f45 100644 --- a/src/containers/Dashboard/index.tsx +++ b/src/containers/Dashboard/index.tsx @@ -1,15 +1,13 @@ import { SearchBar, Table, Title } from '~/components'; -const Dashboard = () => { +export const Dashboard = () => { return (
- + <Title title='Chain list' /> <SearchBar /> </header> <Table /> </section> ); }; - -export default Dashboard; diff --git a/src/containers/Landing/index.tsx b/src/containers/Landing/index.tsx index a18a028..391e76a 100644 --- a/src/containers/Landing/index.tsx +++ b/src/containers/Landing/index.tsx @@ -1,8 +1,7 @@ import { styled } from '@mui/material/styles'; -import Dashboard from '../Dashboard'; -import { LockedAssets } from '../LockedAssets'; -import { TitleBanner } from '~/components/TitleBanner'; +import { Dashboard, LockedAssets } from '~/containers'; +import { TitleBanner } from '~/components'; export const Landing = () => { return ( diff --git a/src/containers/index.ts b/src/containers/index.ts index f8f6565..ac2a1af 100644 --- a/src/containers/index.ts +++ b/src/containers/index.ts @@ -3,3 +3,4 @@ export * from './Header'; export * from './Layout'; export * from './Landing'; export * from './Dashboard'; +export * from './LockedAssets'; diff --git a/src/utils/misc.ts b/src/utils/misc.ts new file mode 100644 index 0000000..e69de29