Skip to content

Commit 0713737

Browse files
authored
Fix location link
1 parent 20c330c commit 0713737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ When `true`, a `path` that has a trailing slash will only match a `location.path
254254
## location: object
255255

256256
A `<Route>` element tries to match its `path` to the current history location (usually the current browser URL).
257-
However, a [`location`](location.md) with a different `pathname` can also be passed for matching.
257+
However, a [`location`](./location.md) with a different `pathname` can also be passed for matching.
258258

259259
This is useful in cases when you need to match a `<Route>` to a location other than the current history location, as shown in the [Animated Transitions](https://reactrouter.com/web/example/animated-transitions) example.
260260

0 commit comments

Comments
 (0)