From 35621eb60d08952d5d77dce65e7cf5d430424c3f Mon Sep 17 00:00:00 2001 From: titix Date: Tue, 16 Jul 2024 09:39:13 -0300 Subject: [PATCH] style: imports --- src/hooks/useContext/index.ts | 2 ++ src/pages/[chain]/index.tsx | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/hooks/useContext/index.ts b/src/hooks/useContext/index.ts index 92f170c..c570b64 100644 --- a/src/hooks/useContext/index.ts +++ b/src/hooks/useContext/index.ts @@ -1 +1,3 @@ export * from './useStateContext'; +export * from './useData'; +export * from './useTheme'; diff --git a/src/pages/[chain]/index.tsx b/src/pages/[chain]/index.tsx index a6c83cd..34eed58 100644 --- a/src/pages/[chain]/index.tsx +++ b/src/pages/[chain]/index.tsx @@ -1,9 +1,9 @@ -import { GetStaticPaths, GetStaticProps } from 'next'; import { useEffect } from 'react'; +import { GetStaticPaths, GetStaticProps } from 'next'; import { EcosystemChainData } from '~/types'; import { CustomHead } from '~/components'; -import { useData } from '~/hooks/useContext/useData'; +import { useData } from '~/hooks'; import { fetchEcosystemData } from '~/utils'; interface ChainProps {