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"); }