Skip to content

Commit fe4e785

Browse files
committed
chore(layout): ✨ Add experimental_ppr flag to RootLayout
1 parent 3bba10c commit fe4e785

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

apps/docs/src/app/[locale]/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ const geistMono = Geist_Mono({
2626
export const generateMetadata = (): Metadata =>
2727
generateMetadataRootLayout(vitNodeConfig);
2828

29-
export const generateStaticParams = () =>
30-
vitNodeConfig.i18n.locales.map(locale => ({ locale: locale.code }));
29+
// export const generateStaticParams = () =>
30+
// vitNodeConfig.i18n.locales.map(locale => ({ locale: locale.code }));
3131

3232
export default async function LocaleLayout(props: RootLayoutProps) {
3333
const { locale } = await props.params;

apps/docs/src/app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import "./global.css";
22

3+
export const experimental_ppr = true;
4+
35
export default async function RootLayout({
46
children,
57
}: {

0 commit comments

Comments
 (0)