From 93c4e5a0c2c38b67a1532c71878420bdf0370fd6 Mon Sep 17 00:00:00 2001 From: Can Temizyurek <101304677+cantemizyurek@users.noreply.github.com> Date: Tue, 22 Oct 2024 22:28:08 -0400 Subject: [PATCH] Fix page.tsx parameter types --- .../03-rendering/04-partial-prerendering.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/02-app/01-building-your-application/03-rendering/04-partial-prerendering.mdx b/docs/02-app/01-building-your-application/03-rendering/04-partial-prerendering.mdx index 2e51f677cb32e..3e23c39f06795 100644 --- a/docs/02-app/01-building-your-application/03-rendering/04-partial-prerendering.mdx +++ b/docs/02-app/01-building-your-application/03-rendering/04-partial-prerendering.mdx @@ -197,7 +197,7 @@ import { Table } from './table' export default function Page({ searchParams, }: { - searchParams: { sort: string } + searchParams: Promise<{ sort: string }> }) { return (