Skip to content

Commit 6ad598f

Browse files
committed
fix: resolve type error in app router slug template
1 parent 1c1b244 commit 6ad598f

File tree

1 file changed

+1
-1
lines changed
  • starters/basic-starter/app/[...slug]

1 file changed

+1
-1
lines changed

starters/basic-starter/app/[...slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ type NodePageParams = {
5959
slug: string[]
6060
}
6161
type NodePageProps = {
62-
params: NodePageParams
62+
params: Promise<NodePageParams>
6363
searchParams: Promise<{ [key: string]: string | string[] | undefined }>
6464
}
6565

0 commit comments

Comments
 (0)