Skip to content

Commit 868e515

Browse files
authored
docs(examples/auth-router-provider): fix typo (#10730)
1 parent 8127378 commit 868e515

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
@@ -162,6 +162,7 @@
162162
- ms10596
163163
- ned-park
164164
- nilubisan
165+
- Nismit
165166
- nnhjs
166167
- noisypigeon
167168
- Obi-Dann

examples/auth-router-provider/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Be sure to pay attention to the following features in this example:
1515

1616
- The use of a standalone object _outside of the React tree_ that manages our authentication state
1717
- The use of `loader` functions to check for user authentication
18-
- The use of `redirect` from the `/protexted` `loader` when the user is not logged in
18+
- The use of `redirect` from the `/protected` `loader` when the user is not logged in
1919
- The use of a `<Form>` and an `action` to perform the login
2020
- The use of a `from` search param and a `redirectTo` hidden input to preserve the previous location so you can send the user there after they authenticate
2121
- The use of `<Form replace>` to replace the `/login` route in the history stack so the user doesn't return to the login page when clicking the back button after logging in

0 commit comments

Comments
 (0)