mirror of
https://github.com/ChiChou/entdb.git
synced 2026-06-10 23:07:47 +02:00
Fix: wrap NavTop in Suspense for static generation
This commit is contained in:
+3
-1
@@ -36,7 +36,9 @@ export default function RootLayout({
|
||||
>
|
||||
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
|
||||
<div className="flex flex-col min-h-screen">
|
||||
<NavTop />
|
||||
<Suspense>
|
||||
<NavTop />
|
||||
</Suspense>
|
||||
<Toaster />
|
||||
<Suspense>
|
||||
<main className="flex-1 flex flex-col min-h-0">{children}</main>
|
||||
|
||||
Reference in New Issue
Block a user