From 7a19a161e174f3f7693f8b85696a4ac0b8ed522e Mon Sep 17 00:00:00 2001 From: ghost2023 Date: Sat, 6 Jun 2026 09:04:11 +0300 Subject: [PATCH] fix: redirects --- apps/edr-freight-web/portal/src/hooks/useAuth.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/edr-freight-web/portal/src/hooks/useAuth.ts b/apps/edr-freight-web/portal/src/hooks/useAuth.ts index 7f4c02585..3ce7ec616 100644 --- a/apps/edr-freight-web/portal/src/hooks/useAuth.ts +++ b/apps/edr-freight-web/portal/src/hooks/useAuth.ts @@ -172,7 +172,6 @@ const useAuth = () => { }); localStorage.clear(); queryClient.clear(); - window.location.href = "/login"; }; return {