'use client' /** * OrgSwitcher — pick between Companies the current user belongs to. Useful * for accounts that ended up multi-company via cross-domain invitations. * * Native 's value matches an option (otherwise React warns). const value = currentCompanyId ?? companies[0]?.id ?? '' if (companies.length === 0) return null return ( {!hideLabel && ( )} ) }