Skip to content

Commit

Permalink
Update EXAMPLES.md (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyfrth committed Sep 14, 2023
1 parent dd5cf47 commit 67f97c8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ const Posts = () => {
export default Posts;
```

For a more detailed example see how to [create a `useApi` hook for accessing protected APIs with an access token](#create-a-useapi-hook-for-accessing-protected-apis-with-an-access-token).

## Protecting a route in a `react-router-dom v6` app

We need to access the `useNavigate` hook so we can use `navigate` in `onRedirectCallback` to return us to our `returnUrl`.
Expand Down

0 comments on commit 67f97c8

Please sign in to comment.