Skip to content

Commit 8f08715

Browse files
committed
docs: fix typo in useNavigate documentation
1 parent 00cb4d7 commit 8f08715

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
@@ -237,6 +237,7 @@
237237
- KostiantynPopovych
238238
- KubasuIvanSakwa
239239
- KutnerUri
240+
- kuzznicki
240241
- kylegirard
241242
- LadyTsukiko
242243
- landisdesign

packages/react-router/lib/hooks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ function useIsomorphicLayoutEffect(
300300
*
301301
* Be cautious with `navigate(number)`. If your application can load up to a
302302
* route that has a button that tries to navigate forward/back, there may not be
303-
* a `[`History`](https://developer.mozilla.org/en-US/docs/Web/API/History)
303+
* a [`History`](https://developer.mozilla.org/en-US/docs/Web/API/History)
304304
* entry to go back or forward to, or it can go somewhere you don't expect
305305
* (like a different domain).
306306
*

0 commit comments

Comments
 (0)