Skip to content

Commit

Permalink
fix: fix test by awaiting params correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattjoh committed Oct 17, 2024
1 parent 5997a7b commit f9ac2b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default async function Layout({ children, params }) {
async function Inner({ children, params }) {
return (
<>
<h1>{await params.slug}</h1>
<h1>{(await params).slug}</h1>
<section>{children}</section>
</>
)
Expand Down

0 comments on commit f9ac2b1

Please sign in to comment.