Skip to content

Commit

Permalink
Small word switcheroo
Browse files Browse the repository at this point in the history
  • Loading branch information
timdorr committed Jun 18, 2022
1 parent dde8b6a commit f81f45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/hooks/use-navigate.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interface NavigateFunction {

</details>

The `useNavigate` hook returns a function that lets you navigate programmatically, for example after a form is submitted. If using `replace: true`, the redirection will replace the current entry in the history stack instead of adding a new one.
The `useNavigate` hook returns a function that lets you navigate programmatically, for example after a form is submitted. If using `replace: true`, the navigation will replace the current entry in the history stack instead of adding a new one.

```tsx
import { useNavigate } from "react-router-dom";
Expand Down

0 comments on commit f81f45a

Please sign in to comment.