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 {