Skip to content

Commit 09e90ec

Browse files
committed
chore: format
1 parent 1a94cdb commit 09e90ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/upgrading/v5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ A few important things to notice about v6 in this example:
267267
automatically detect the best route for the current URL. This prevents bugs
268268
due to manually putting routes in the wrong order in a `<Switch>`
269269

270-
You may have also noticed that all `<Route children>` from the v5 app changed to `<Route element>` in v6. Assuming you followed the upgrade steps to v5.1, this should be as simple as moving your route element from the child position to a named `element` prop.
270+
You may have also noticed that all `<Route children>` from the v5 app changed to `<Route element>` in v6. Assuming you followed the upgrade steps to v5.1, this should be as simple as moving your route element from the child position to a named `element` prop.
271271

272272
<!-- (TODO: can we provide a codemod here?) -->
273273

@@ -887,7 +887,7 @@ This change was made both to follow more closely the convention established by t
887887
- `useRouteMatch({ sensitive })` is now `useMatch({ caseSensitive })`
888888
- It returns a match object with a different shape
889889

890-
To see the exact API of the new `useMatch` hook and its type declaration, check out our [API Reference](../hooks/use-match).
890+
To see the exact API of the new `useMatch` hook and its type declaration, check out our [API Reference](../hooks/use-match).
891891

892892
<!-- TODO: Show examples for refactoring useRouteMatch -->
893893

0 commit comments

Comments
 (0)