diff --git a/ui/src/components/LayoutShell.tsx b/ui/src/components/LayoutShell.tsx index 833807fb..aa06515e 100644 --- a/ui/src/components/LayoutShell.tsx +++ b/ui/src/components/LayoutShell.tsx @@ -729,7 +729,6 @@ function LayoutContent() { // --- Callbacks ---------------------------------------------------- const handleLogout = useCallback(() => { logout(); - useEnvironmentStore.getState().setEnvironment(undefined); navigate('/login'); }, [logout, navigate]);