diff --git a/components/index.ts b/components/index.ts deleted file mode 100644 index 94d5b04fec..0000000000 --- a/components/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './NotionPage' -export * from './Page404' -export * from './ErrorPage' diff --git a/pages/404.tsx b/pages/404.tsx index df6746cf8f..a1ea1dabaa 100644 --- a/pages/404.tsx +++ b/pages/404.tsx @@ -1,3 +1,3 @@ -import { Page404 } from '@/components' +import { Page404 } from '@/components/Page404' export default Page404 diff --git a/pages/[pageId].tsx b/pages/[pageId].tsx index 1a34ad09ee..075187620e 100644 --- a/pages/[pageId].tsx +++ b/pages/[pageId].tsx @@ -1,8 +1,7 @@ import * as React from 'react' import { GetStaticProps } from 'next' -import { NotionPage } from '@/components' - +import { NotionPage } from '@/components/NotionPage' import { domain, isDev } from '@/lib/config' import { getSiteMap } from '@/lib/get-site-map' import { resolveNotionPage } from '@/lib/resolve-notion-page' diff --git a/pages/_error.tsx b/pages/_error.tsx index 8506b022c8..26194eafd1 100644 --- a/pages/_error.tsx +++ b/pages/_error.tsx @@ -1,3 +1,3 @@ -import { ErrorPage } from '@/components' +import { ErrorPage } from '@/components/ErrorPage' export default ErrorPage diff --git a/pages/index.tsx b/pages/index.tsx index e0f9d3629d..bc3d4dee3e 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,7 +1,6 @@ import * as React from 'react' -import { NotionPage } from '@/components' - +import { NotionPage } from '@/components/NotionPage' import { domain } from '@/lib/config' import { resolveNotionPage } from '@/lib/resolve-notion-page'