From f9ac2b1d08903dcbdbf1d8e5966d7ee0de8d573f Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Thu, 17 Oct 2024 16:48:12 -0600 Subject: [PATCH] fix: fix test by awaiting params correctly --- .../app/params/generate-static-params/[slug]/layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/app-dir/dynamic-io/app/params/generate-static-params/[slug]/layout.tsx b/test/e2e/app-dir/dynamic-io/app/params/generate-static-params/[slug]/layout.tsx index 8de3ac40b1f86..78abccb0027d2 100644 --- a/test/e2e/app-dir/dynamic-io/app/params/generate-static-params/[slug]/layout.tsx +++ b/test/e2e/app-dir/dynamic-io/app/params/generate-static-params/[slug]/layout.tsx @@ -31,7 +31,7 @@ export default async function Layout({ children, params }) { async function Inner({ children, params }) { return ( <> -

{await params.slug}

+

{(await params).slug}

{children}
)