'use client'; import { RefreshCw, Search } from 'lucide-react'; import CitySlotCard from '@/components/slots/CitySlotCard'; import { SlotSnapshot } from '@/types'; import { useLanguage } from '@/lib/i18n/LanguageContext'; interface SlotGridProps { loading: boolean; snapshots: SlotSnapshot[]; selectedCity: string; } export default function SlotGrid({ loading, snapshots, selectedCity, }: SlotGridProps) { const { t } = useLanguage(); if (loading && snapshots.length === 0) { return (
[ FETCHING TELEMETRY FOR {selectedCity.toUpperCase()}... ]
{t('slots.no_monitoring') || '当前中心城市未检索到活跃的使馆放号监控工单'}