From efde701ba9924ac42a46c84c3ca52fa6b0aa19bd Mon Sep 17 00:00:00 2001 From: Blitblank Date: Sat, 21 Mar 2026 15:44:35 -0500 Subject: [PATCH] i should really test lolcally --- client/src/router/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/router/index.ts b/client/src/router/index.ts index 5c7d3b3..e80ac1c 100644 --- a/client/src/router/index.ts +++ b/client/src/router/index.ts @@ -13,7 +13,7 @@ const routes = [ { path: "/", component: index }, { path: "/login", component: LoginForm }, { path: "/register", component: RegisterForm }, - { path: "/users", component: UsersList, { requiresAuth: true } }, + { path: "/users", component: UsersList, meta: { requiresAuth: true } }, { path: "/user/new", component: UserForm, meta: { requiresAuth: true } }, { path: "/user/:id", component: UserForm, meta: { requiresAuth: true } } ]; // I really like this