From e61af3007fe82f23f6d546de1f62555423abbc91 Mon Sep 17 00:00:00 2001 From: John Costa Date: Sun, 5 Oct 2025 20:55:26 +0100 Subject: [PATCH] fix! --- frontend/src/components/protected-route/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/protected-route/index.tsx b/frontend/src/components/protected-route/index.tsx index 1dbde47..ba470ca 100644 --- a/frontend/src/components/protected-route/index.tsx +++ b/frontend/src/components/protected-route/index.tsx @@ -36,7 +36,7 @@ export const ProtectedRoute: Component = (props) => { const isValid = isTokenValid(); if (isValid) { - const token = localStorage.getItem("access"); + const token = localStorage.getItem("refresh"); if (token == null) { throw new Error("unreachable"); }