From fd3000366bbb24c5c240793bd826948df0d8d50a Mon Sep 17 00:00:00 2001 From: Pokai Chang Date: Mon, 11 Nov 2024 04:32:34 +0800 Subject: [PATCH] docs: fix --- apps/onestack.dev/data/docs/routing.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/onestack.dev/data/docs/routing.mdx b/apps/onestack.dev/data/docs/routing.mdx index 961dfe496..a5d7f652a 100644 --- a/apps/onestack.dev/data/docs/routing.mdx +++ b/apps/onestack.dev/data/docs/routing.mdx @@ -106,7 +106,7 @@ export function loader({ params }) { // params.rest is an array ['a', 'b', 'c'] } -export default function BlogPostPage({ params }) { +export default function BlogPostPage() { const params = useParams() // params.rest is an array ['a', 'b', 'c'] }