mirror of
https://github.com/vercel/commerce.git
synced 2025-05-19 07:56:59 +00:00
Update layout.tsx
This commit is contained in:
parent
a5894cf4e6
commit
dc410e2404
@ -1,5 +1,7 @@
|
|||||||
import { Suspense } from 'react';
|
import { Suspense } from 'react';
|
||||||
|
|
||||||
|
export const revalidate = 300; // 5 minutes in seconds
|
||||||
|
|
||||||
export default function Layout({ children }: { children: React.ReactNode }) {
|
export default function Layout({ children }: { children: React.ReactNode }) {
|
||||||
return <Suspense>{children}</Suspense>;
|
return <Suspense>{children}</Suspense>;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user