diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/NavigationRail/NavigationRail.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/NavigationRail/NavigationRail.tsx index 4ab588f6d81..cbd469381b8 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/NavigationRail/NavigationRail.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/NavigationRail/NavigationRail.tsx @@ -9,6 +9,7 @@ import { PinnableRailButton } from "./components/PinnableRailButton"; import { RailMoreMenu } from "./components/RailMoreMenu"; import { RailUsage } from "./components/RailUsage"; import { useRailDestinations } from "./hooks/useRailDestinations"; +import { useRailPinsStore } from "./stores/railPinsStore"; export const NAVIGATION_RAIL_WIDTH = 52; @@ -17,6 +18,9 @@ export function NavigationRail() { const { t } = useLingui(); const navigation = useDashboardNavigation(); const destinations = useRailDestinations(navigation); + const isChatHidden = useRailPinsStore((state) => + state.hiddenDestinationIds.includes("chat"), + ); return (