mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-03 11:06:32 +09:00
修复优化代码带来的错误
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import Script from "next/script";
|
||||
import "@/app/globals.css";
|
||||
|
||||
export { metadata, viewport } from "@/components/layout/site-document";
|
||||
@@ -8,8 +7,6 @@ export default function RootLayout({ children }: Readonly<{ children: React.Reac
|
||||
<html lang="zh-Hans" suppressHydrationWarning>
|
||||
<body>
|
||||
{children}
|
||||
<Script id="theme-preference" src="/init-theme.js" strategy="beforeInteractive" />
|
||||
<Script id="locale-canonicalization" src="/init-locale.js" strategy="beforeInteractive" />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user