Skip to content

Commit b44bf78

Browse files
Errornametimdorr
authored andcommitted
Fix documentation for Route's sensitive attribute (#5942)
The old example was wrong: with path=`/One`, location.pathname=`/one` and sensitive=`false`, the Route will match
1 parent 9cd19e2 commit b44bf78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-router/docs/api/Route.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,5 +199,6 @@ When `true`, will match if the path is __case sensitive__.
199199
| path | location.pathname | sensitive | matches? |
200200
| --- | --- | --- | --- |
201201
| `/one` | `/one` | `true` | yes |
202-
| `/One` | `/one` | `false` | no |
202+
| `/One` | `/one` | `true` | no |
203+
| `/One` | `/one` | `false`| yes |
203204

0 commit comments

Comments
 (0)