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 51c300e commit 9aabd38Copy full SHA for 9aabd38
app/app/template.tsx
@@ -0,0 +1,8 @@
1
+import { Suspense } from "react";
2
+
3
+export const dynamic = "force-dynamic";
4
+export const revalidate = 0;
5
6
+export default function Template({ children }: { children: React.ReactNode }) {
7
+ return <Suspense fallback={null}>{children}</Suspense>;
8
+}
app/layout.tsx
@@ -4,7 +4,6 @@ import { Suspense } from "react"; // <-- add this
export const dynamic = 'force-dynamic';
export const revalidate = 0;
-
const inter = Inter({ subsets: ["latin"] });
9
10
export default function RootLayout({
0 commit comments