Skip to content

Commit 6c5a2a5

Browse files
committed
docs: typo in example breadcrumb data shape
1 parent 15e7ce2 commit 6c5a2a5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • packages/docs/src/app/breadcrumbs

packages/docs/src/app/breadcrumbs/page.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,9 @@ For a URL like `/products/electronics/42`, the breadcrumb chain would be:
299299

300300
```ts
301301
[
302-
{ title: "electronics", href: "/products/electronics" },
303-
{ title: "Super Widget" }
302+
{ title: "Products", href: "/products" },
303+
{ title: "Electronics" /* params.category */, href: "/products/electronics" },
304+
{ title: "Super Widget" /* params.id */ }
304305
]
305306
```
306307

0 commit comments

Comments
 (0)