From 25978c936f5f90573dfe5b4fddc67901411fbb6d Mon Sep 17 00:00:00 2001 From: PaulUgwu <39962801+PaulUgwu@users.noreply.github.com> Date: Tue, 10 Jan 2023 11:46:56 +0100 Subject: [PATCH] docs: fix typo (#10019) --- docs/content/1.docs/1.getting-started/5.routing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/1.docs/1.getting-started/5.routing.md b/docs/content/1.docs/1.getting-started/5.routing.md index 8aba9fdf59..c7583522ed 100644 --- a/docs/content/1.docs/1.getting-started/5.routing.md +++ b/docs/content/1.docs/1.getting-started/5.routing.md @@ -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') }