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]);