'use client' import { Building2 } from 'lucide-react' import { useTranslations } from 'next-intl' import { cn } from '@/lib/utils' import { useCompany } from '@/contexts/CompanyContext' import { Badge } from '@/components/ui/badge' /** * Quiet chip naming the active company. Settings surfaces (the routed modal * and the full-page fallback) cover or dim the sidebar's CompanySwitcher, so * without this the user edits company-scoped settings with no visible answer * to "which company am I on?" (support feedback 2026-07-19). */ export function ActiveCompanyBadge({ className }: { className?: string }) { const { company } = useCompany() const t = useTranslations('common') if (!company) return null return ( ) }