Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
docs: fix typo (#10019)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulUgwu authored Jan 10, 2023
1 parent 14fba85 commit 25978c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/1.docs/1.getting-started/5.routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Example of an `auth` middleware protecting the `/dashboard` page:

```ts [middleware/auth.ts]
export default defineNuxtRouteMiddleware((to, from) => {
// isAuthenticated() is an example method verifying if an user is authenticated
// isAuthenticated() is an example method verifying if a user is authenticated
if (isAuthenticated() === false) {
return navigateTo('/login')
}
Expand Down

0 comments on commit 25978c9

Please sign in to comment.