From 1e6815ba94b07c217942f763bc1e0cbb8b18de9d Mon Sep 17 00:00:00 2001 From: Francois Best Date: Fri, 15 Sep 2023 11:19:29 +0200 Subject: [PATCH] chore: Fix warning about useLayoutEffect on SSR --- src/app/e2e/app/layout.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/e2e/app/layout.tsx b/src/app/e2e/app/layout.tsx index fd7d1349..2e7597fa 100644 --- a/src/app/e2e/app/layout.tsx +++ b/src/app/e2e/app/layout.tsx @@ -1,3 +1,4 @@ +import { Suspense } from 'react' import { QuerySpy } from '../../../components/query-spy' export default function E2EPageLayout({ @@ -7,7 +8,9 @@ export default function E2EPageLayout({ }) { return ( <> - + + + {children} )