Skip to content

Commit 5fc0767

Browse files
authored
docs(hooks/use-matches): Fix crumb route (#10020)
1 parent 91a0526 commit 5fc0767

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,4 @@
176176
- xavier-lc
177177
- xcsnowcity
178178
- yuleicul
179+
- rubeonline

docs/hooks/use-matches.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The proverbial use case here is adding breadcrumbs to a parent layout that uses
5656
// here we use "crumb" and return some elements,
5757
// this is what we'll render in the breadcrumbs
5858
// for this route
59-
crumb: () => <Link to="/message">Messages</Link>,
59+
crumb: () => <Link to="/messages">Messages</Link>,
6060
}}
6161
>
6262
<Route

0 commit comments

Comments
 (0)