Unverified Commit e1632ccb authored by Can Temizyurek's avatar Can Temizyurek Committed by GitHub

[docs] Fix page.tsx parameter types (#71680)

Closes https://github.com/vercel/next.js/issues/71679Co-authored-by: 's avatarZack Tanner <1939140+ztanner@users.noreply.github.com>
parent 4835be18
...@@ -197,7 +197,7 @@ import { Table } from './table' ...@@ -197,7 +197,7 @@ import { Table } from './table'
export default function Page({ export default function Page({
searchParams, searchParams,
}: { }: {
searchParams: { sort: string } searchParams: Promise<{ sort: string }>
}) { }) {
return ( return (
<section> <section>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment