Fix: Multilingual and currency selectors not updating

This commit is contained in:
gpt-engineer-app[bot]
2025-10-11 14:55:26 +00:00
parent 44979cc34e
commit f2105a81ee
8 changed files with 108 additions and 81 deletions

View File

@@ -9,8 +9,10 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@
import { Badge } from '@/components/ui/badge';
import { useToast } from '@/hooks/use-toast';
import { apiClient } from '@/services/adminApi';
import { useLanguage } from '@/contexts/LanguageContext';
const Staff = () => {
const { t } = useLanguage();
const [staff, setStaff] = useState<any[]>([]);
const [establishments, setEstablishments] = useState<any[]>([]);
const { toast } = useToast();