This commit is contained in:
2025-10-05 20:55:26 +01:00
parent 3594baceb5
commit e61af3007f

View File

@ -36,7 +36,7 @@ export const ProtectedRoute: Component<ParentProps> = (props) => {
const isValid = isTokenValid();
if (isValid) {
const token = localStorage.getItem("access");
const token = localStorage.getItem("refresh");
if (token == null) {
throw new Error("unreachable");
}