From 33935419fb88e20fc4cff4160b815a589730eb2e Mon Sep 17 00:00:00 2001 From: Estifo77 <139631617+Estifo77@users.noreply.github.com> Date: Wed, 12 Aug 2026 12:34:09 +0300 Subject: [PATCH] cookie clearting fix --- apps/backoffice/src/app/layouts/BackofficeLayout.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/backoffice/src/app/layouts/BackofficeLayout.tsx b/apps/backoffice/src/app/layouts/BackofficeLayout.tsx index e9c9f857b..d1665629a 100644 --- a/apps/backoffice/src/app/layouts/BackofficeLayout.tsx +++ b/apps/backoffice/src/app/layouts/BackofficeLayout.tsx @@ -86,6 +86,7 @@ export function BackofficeLayout() { const handleLogout = useCallback(() => { dispatch(logout()); + dispatch(baseApi.util.resetApiState()); navigate("/login"); }, [dispatch, navigate]);