Fix: Multilingual and currency selectors not updating
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user