fix: expand map filters by default to show hotspot toggle

Make the filters panel expanded by default so users can immediately
see and access the hotspot visualization toggle without needing to
click to expand the panel first.
This commit is contained in:
2025-11-16 19:03:28 +00:00
parent 40a96142ba
commit 9aa6507e7e
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ export function MapFilters({
showHotspots = false,
isLoadingHotspots = false,
}: MapFiltersProps) {
const [isExpanded, setIsExpanded] = useState(false);
const [isExpanded, setIsExpanded] = useState(true);
const litterTypes: LitterType[] = ['plastic', 'metal', 'glass', 'organic', 'hazardous', 'other'];
const quantities: QuantityLevel[] = ['minimal', 'moderate', 'significant', 'severe'];