mirror of
https://litchi.icu/ngc2207/judge4c-latest.git
synced 2025-07-13 05:53:50 +00:00
refactor: suppress hydration warning in root layout and change url of app-sidebar
This commit is contained in:
parent
4f816e248a
commit
7e91eea2e3
@ -21,7 +21,7 @@ export default function RootLayout({
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body className={cn("font-sans antialiased", inter.variable)}>
|
||||
<SidebarProvider>
|
||||
<AppSidebar />
|
||||
|
@ -44,6 +44,10 @@ const data = {
|
||||
title: "提交记录",
|
||||
url: "#",
|
||||
},
|
||||
{
|
||||
title: "新建",
|
||||
url: "/problems/new",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user