We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb1ae23 commit 4b31e08Copy full SHA for 4b31e08
app/layout.tsx
@@ -1,4 +1,5 @@
1
import type { Metadata } from "next";
2
+import { Suspense } from "react";
3
import { Geist, Geist_Mono } from "next/font/google";
4
import "./globals.css";
5
import { ThemeProvider } from "@/components/theme-provider";
@@ -76,7 +77,9 @@ export default function RootLayout({
76
77
enableSystem
78
disableTransitionOnChange
79
>
- <MixpanelInit />
80
+ <Suspense fallback={null}>
81
+ <MixpanelInit />
82
+ </Suspense>
83
{children}
84
</ThemeProvider>
85
</body>
0 commit comments