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 9f8e35c commit 27c6ef1Copy full SHA for 27c6ef1
src/app/layout.tsx
@@ -5,6 +5,7 @@ import { MantineProvider, ColorSchemeScript } from "@mantine/core";
5
import { cssResolver, theme } from "@/theme";
6
import { Header } from "@/components/header";
7
import { FooterSocial } from "@/components/footer";
8
+import { Suspense } from "react";
9
10
export const metadata: Metadata = {
11
title: "Ruffle - Flash Emulator",
@@ -41,9 +42,11 @@ export default function RootLayout({
41
42
</head>
43
<body>
44
<MantineProvider theme={theme} cssVariablesResolver={cssResolver}>
- <Header />
45
- {children}
46
- <FooterSocial />
+ <Suspense>
+ <Header />
47
+ {children}
48
+ <FooterSocial />
49
+ </Suspense>
50
</MantineProvider>
51
</body>
52
</html>
0 commit comments