From ea8fa90a31363eb0f36ab4deab23e28e626e35c9 Mon Sep 17 00:00:00 2001 From: d3m0k1d Date: Sun, 15 Feb 2026 00:22:43 +0300 Subject: [PATCH] fix: redirect --- frontend/src/components/AuthCallback.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/AuthCallback.tsx b/frontend/src/components/AuthCallback.tsx index 114936c..2404551 100644 --- a/frontend/src/components/AuthCallback.tsx +++ b/frontend/src/components/AuthCallback.tsx @@ -18,7 +18,7 @@ export default function AuthCallback() { await checkAuth(); - navigate("/", { replace: true }); + window.location.href = "/"; } else { console.error("No token in URL"); navigate("/login?error=no_token");