Skip to content

Commit 9aabd38

Browse files
authored
main
1 parent 51c300e commit 9aabd38

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

app/app/template.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { Suspense } from "react"; // <-- add this
44

55
export const dynamic = 'force-dynamic';
66
export const revalidate = 0;
7-
87
const inter = Inter({ subsets: ["latin"] });
98

109
export default function RootLayout({

0 commit comments

Comments
 (0)