Skip to content

Commit

Permalink
Shorten this code block
Browse files Browse the repository at this point in the history
Fixes #9548

This is a partial fix. Overflow should scroll within code blocks.
  • Loading branch information
timdorr committed Nov 4, 2022
1 parent 7796d89 commit 2c562a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/upgrading/v5.md
Original file line number Diff line number Diff line change
Expand Up @@ -922,8 +922,8 @@ import { matchPath } from "react-router-dom";
const match = matchPath(
{
path: "/users/:id",
caseSensitive: false, // Optional. Should be `true` if the static portions of the `path` should be matched in the same case.
end: true, // Optional. Should be `true` if this pattern should match the entire URL pathname
caseSensitive: false, // Optional, `true` == static parts of `path` should match case
end: true, // Optional, `true` == pattern should match the entire URL pathname
},
"/users/123"
);
Expand Down

0 comments on commit 2c562a4

Please sign in to comment.