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 {