From 163e89648cc483eb8b709e8ee44fa88fb7771088 Mon Sep 17 00:00:00 2001 From: 7yue Date: Fri, 4 Nov 2022 02:07:22 +0800 Subject: [PATCH] examples: Fix with-turbopack typo (#42410) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm build && pnpm lint` - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md) --- .../app/hooks/[categorySlug]/[subCategorySlug]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/with-turbopack/app/hooks/[categorySlug]/[subCategorySlug]/page.tsx b/examples/with-turbopack/app/hooks/[categorySlug]/[subCategorySlug]/page.tsx index 17332209bc76..59b42fd7fec9 100644 --- a/examples/with-turbopack/app/hooks/[categorySlug]/[subCategorySlug]/page.tsx +++ b/examples/with-turbopack/app/hooks/[categorySlug]/[subCategorySlug]/page.tsx @@ -4,7 +4,7 @@ import { SkeletonCard } from '@/ui/SkeletonCard'; export default function Page({ params }: PageProps) { const category = use( - fetchSubCategory(params.categorySlug, params.subCategory), + fetchSubCategory(params.categorySlug, params.subCategorySlug), ); if (!category) return null; return (