From 3e1f3a91d2b700986e734d8cc81f3598ec61ea8e Mon Sep 17 00:00:00 2001 From: TITI <162849030+0xtiti@users.noreply.github.com> Date: Wed, 17 Jul 2024 11:51:48 -0300 Subject: [PATCH 1/4] style: fix quotes Co-authored-by: Ardy <116569704+0xArdy@users.noreply.github.com> --- src/containers/Dashboard/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/Dashboard/index.tsx b/src/containers/Dashboard/index.tsx index 113a271..19e13d5 100644 --- a/src/containers/Dashboard/index.tsx +++ b/src/containers/Dashboard/index.tsx @@ -5,7 +5,7 @@ const Dashboard = () => { return (
- + <Title title="Chain list" /> <SearchBar /> </header> <Table /> From 27e757118a37f11c652d7338387f9263ce5b20b2 Mon Sep 17 00:00:00 2001 From: TITI <162849030+0xtiti@users.noreply.github.com> Date: Wed, 17 Jul 2024 11:52:04 -0300 Subject: [PATCH 2/4] style: imports Co-authored-by: Ardy <116569704+0xArdy@users.noreply.github.com> --- src/containers/LockedAssets/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/containers/LockedAssets/index.tsx b/src/containers/LockedAssets/index.tsx index 03e48c8..c365ac0 100644 --- a/src/containers/LockedAssets/index.tsx +++ b/src/containers/LockedAssets/index.tsx @@ -1,5 +1,4 @@ -import { TotalValueLocked } from '~/components'; -import { Title } from '~/components/Title'; +import { TotalValueLocked, Title } from '~/components'; import { useData } from '~/hooks'; export const LockedAssets = () => { From c665412011481e6ded362baf6cc14e53e1183ab0 Mon Sep 17 00:00:00 2001 From: TITI <162849030+0xtiti@users.noreply.github.com> Date: Wed, 17 Jul 2024 11:52:16 -0300 Subject: [PATCH 3/4] style: imports Co-authored-by: Ardy <116569704+0xArdy@users.noreply.github.com> --- src/containers/Dashboard/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/containers/Dashboard/index.tsx b/src/containers/Dashboard/index.tsx index 19e13d5..e7fc3d1 100644 --- a/src/containers/Dashboard/index.tsx +++ b/src/containers/Dashboard/index.tsx @@ -1,5 +1,4 @@ -import { SearchBar, Table } from '~/components'; -import { Title } from '~/components/Title'; +import { SearchBar, Table, Title } from '~/components'; const Dashboard = () => { return ( From 6e39b9cd8433330bd96305756edc28f05a43a418 Mon Sep 17 00:00:00 2001 From: titix <titi@defi.sucks> Date: Wed, 17 Jul 2024 12:18:33 -0300 Subject: [PATCH 4/4] 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 ( <section> <header> - <Title title="Chain list" /> + <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