Skip to content

Commit 0acd4a9

Browse files
authored
docs: Fix broken link in faq.md (#8657)
1 parent a7a77da commit 0acd4a9

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
@@ -31,3 +31,4 @@
3131
- turansky
3232
- underager
3333
- vijaypushkin
34+
- sanketshah19

docs/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function withRouter(Component) {
3737

3838
## Why does `<Route>` have an `element` prop instead of `render` or `component`?
3939

40-
We mentioned this [in the migration guide from v5 to v6](../guides/migrating-5-to-6#advantages-of-route-element), but it's worth repeating here.
40+
We mentioned this [in the migration guide from v5 to v6](./upgrading/v5.md#advantages-of-route-element), but it's worth repeating here.
4141

4242
In React Router v6 we switched from using v5's `<Route component>` and `<Route render>` APIs to `<Route element>`. Why is that?
4343

0 commit comments

Comments
 (0)