diff options
| author | 2023-11-03 21:17:06 +0800 | |
|---|---|---|
| committer | 2023-11-03 21:17:06 +0800 | |
| commit | 94071d7ce16c56641d67d488e2bac6be84ffe731 (patch) | |
| tree | d837b71575aba805e18b3db3d056a106d81818fe /examples/with-tailwind/apps/web/src/pages/_document.tsx | |
| parent | 9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 (diff) | |
| download | HydroRoll-94071d7ce16c56641d67d488e2bac6be84ffe731.tar.gz HydroRoll-94071d7ce16c56641d67d488e2bac6be84ffe731.zip | |
chore: delete useless files
Diffstat (limited to 'examples/with-tailwind/apps/web/src/pages/_document.tsx')
| -rw-r--r-- | examples/with-tailwind/apps/web/src/pages/_document.tsx | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/examples/with-tailwind/apps/web/src/pages/_document.tsx b/examples/with-tailwind/apps/web/src/pages/_document.tsx deleted file mode 100644 index a091efe..0000000 --- a/examples/with-tailwind/apps/web/src/pages/_document.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import Document, { - DocumentContext, - DocumentInitialProps, - Html, - Head, - Main, - NextScript, -} from "next/document"; - -class MyDocument extends Document { - static async getInitialProps( - ctx: DocumentContext - ): Promise<DocumentInitialProps> { - const initialProps = await Document.getInitialProps(ctx); - - return initialProps; - } - - render() { - return ( - <Html className="bg-zinc-900"> - <Head /> - <body> - <Main /> - <NextScript /> - </body> - </Html> - ); - } -} - -export default MyDocument; |
