()
| 38 | const [currentStyle, setCurrentStyle] = useState<MapStyle>(defaultStyle); |
| 39 | |
| 40 | const handleStyleToggle = () => { |
| 41 | const next: MapStyle = currentStyle === "dark" ? "satellite" : "dark"; |
| 42 | setCurrentStyle(next); |
| 43 | onStyleChange?.(next); |
| 44 | }; |
| 45 | |
| 46 | const items = [ |
| 47 | { icon: Layers, onClick: onToggleLayers ?? (() => {}), label: showFields ? "Hide Regions" : "Show Regions", active: showFields }, |
nothing calls this directly
no outgoing calls
no test coverage detected