diff --git a/website/app/[...slug]/page.tsx b/website/app/[...slug]/page.tsx index 965000b4..d4a2d18f 100644 --- a/website/app/[...slug]/page.tsx +++ b/website/app/[...slug]/page.tsx @@ -9,9 +9,9 @@ import { import type { Metadata } from "next" import { notFound } from "next/navigation" import { utils } from "~/app/source" +import { useMDXComponents } from "~/components/mdx-components" import { docsOptions } from "../layout.config" import { metadataImage } from "../og/[...slug]/metadata" -import { useMDXComponents } from "~/components/mdx-components" type Props = { params: Promise<{ diff --git a/website/tsconfig.json b/website/tsconfig.json index 0409648c..af279b0b 100644 --- a/website/tsconfig.json +++ b/website/tsconfig.json @@ -1,43 +1,35 @@ { - "compilerOptions": { - "baseUrl": ".", - "target": "ES2020", - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], - "allowJs": true, - "skipLibCheck": true, - "strict": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true, - "esModuleInterop": true, - "moduleResolution": "bundler", - "resolveJsonModule": true, - "isolatedModules": true, - "jsx": "preserve", - "incremental": true, - "paths": { - "~/*": [ - "./*" - ] - }, - "plugins": [ - { - "name": "next" - } - ], - "module": "esnext" - }, - "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx", - ".next/types/**/*.ts", - "postcss.config.cjs" - ], - "exclude": [ - "node_modules" - ] + "compilerOptions": { + "baseUrl": ".", + "target": "ES2020", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "moduleResolution": "bundler", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true, + "paths": { + "~/*": ["./*"] + }, + "plugins": [ + { + "name": "next" + } + ], + "module": "esnext" + }, + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts", + "postcss.config.cjs" + ], + "exclude": ["node_modules"] }