This commit is contained in:
hailin 2025-05-21 14:41:39 +08:00
parent 89cb2d130d
commit 8033990074
1 changed files with 1 additions and 4 deletions

View File

@ -1,15 +1,12 @@
// _document.tsx // _document.tsx
import { Html, Head, Main, NextScript } from 'next/document' import { Html, Head, Main, NextScript } from 'next/document'
import { Inter } from 'next/font/google'
const inter = Inter({ subsets: ['latin'] })
export default function Document() { export default function Document() {
return ( return (
<Html lang="en" suppressHydrationWarning> <Html lang="en" suppressHydrationWarning>
<Head /> <Head />
<body className={inter.className}> <body>
<Main /> <Main />
<NextScript /> <NextScript />
</body> </body>