diff --git a/apps/client/src/features/space/components/sidebar/switch-space.tsx b/apps/client/src/features/space/components/sidebar/switch-space.tsx index 8009af0f..90734f80 100644 --- a/apps/client/src/features/space/components/sidebar/switch-space.tsx +++ b/apps/client/src/features/space/components/sidebar/switch-space.tsx @@ -13,6 +13,7 @@ interface SwitchSpaceProps { export function SwitchSpace({ spaceName, spaceSlug }: SwitchSpaceProps) { const navigate = useNavigate(); + const [opened, { close, open }] = useDisclosure(false); const handleSelect = (value: string) => { if (value) { @@ -27,6 +28,7 @@ export function SwitchSpace({ spaceName, spaceSlug }: SwitchSpaceProps) { position="bottom" withArrow shadow="md" + opened={opened} >