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 d428dfe1..8009af0f 100644 --- a/apps/client/src/features/space/components/sidebar/switch-space.tsx +++ b/apps/client/src/features/space/components/sidebar/switch-space.tsx @@ -12,7 +12,6 @@ interface SwitchSpaceProps { } export function SwitchSpace({ spaceName, spaceSlug }: SwitchSpaceProps) { - const [opened, { close, open, toggle }] = useDisclosure(false); const navigate = useNavigate(); const handleSelect = (value: string) => { @@ -28,7 +27,6 @@ export function SwitchSpace({ spaceName, spaceSlug }: SwitchSpaceProps) { position="bottom" withArrow shadow="md" - opened={opened} >