import { FormControl, MenuItem, Select, Typography } from '@mui/material' import type { SelectChangeEvent } from '@mui/material' import { authService } from '../../services/authService' import { useSessionStore } from '../../stores/sessionStore' const MOCK_ORGANIZATIONS = [ { id: 'org-wincasa', name: 'Wincasa AG' }, { id: 'org-mobimo', name: 'Mobimo Management AG' }, { id: 'org-ubs', name: 'UBS Asset Management RE' }, ] export function OrganizationSwitcher() { const { activeOrganizationId } = useSessionStore() async function handleChange(e: SelectChangeEvent) { await authService.switchOrganization(e.target.value) } return ( Organisation ) }