From a41ec969d38f78aaff33815f488078765fe307d7 Mon Sep 17 00:00:00 2001 From: Jonas Daniels Date: Thu, 30 Jan 2025 16:14:49 -0800 Subject: [PATCH] add Suspense wrapper to root layout --- apps/login/src/app/layout.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/login/src/app/layout.tsx b/apps/login/src/app/layout.tsx index 3f33940031e..e0534920ecd 100644 --- a/apps/login/src/app/layout.tsx +++ b/apps/login/src/app/layout.tsx @@ -1,5 +1,6 @@ import type { Metadata } from "next"; import { Fira_Code, Inter } from "next/font/google"; +import { Suspense } from "react"; import "./globals.css"; import { Providers } from "./providers"; @@ -30,7 +31,9 @@ export default function RootLayout({ - {children} + + {children} + );