Skip to content

Commit

Permalink
fix(docs): fix typo in authentication guides docs
Browse files Browse the repository at this point in the history
  • Loading branch information
abdenassar01 committed Nov 26, 2024
1 parent 9022642 commit 3e59ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/content/docs/guides/authentication.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The store is composed of 2 states and 3 actions:

For the Demo app `useToken` is a simple object that contains the `accessToken` and the `refreshToken`. You can add more fields if you update the `TokenType` type in `src/lib/auth/utils.ts`.

- `signIn`: TThe function performs user sign-in. It accepts a token as a parameter, sets the token state, stores it locally, and updates the status to `signIn`.
- `signIn`: The function performs user sign-in. It accepts a token as a parameter, sets the token state, stores it locally, and updates the status to `signIn`.

- `signOut`: The action to sign out the user. It sets the token state to `null` and removes it from the storage as well as setting the status to `signOut`.

Expand Down

0 comments on commit 3e59ce5

Please sign in to comment.