import { useTwinStore } from '../../lib/twin/store' import type { LeftView } from '../../lib/twin/store' import { ZonePanel } from './ZonePanel' import { MapPanel } from './MapPanel' const VIEWS: Array<{ id: LeftView; label: string }> = [ { id: 'zones', label: 'Zones' }, { id: 'map', label: 'Map' }, ] /** * Column B of the left dashboard panel. A top segmented toggle switches between * the Zones view (Patrol/Check/Calm ranked list) and the Map view (basemap * styles + layer visibility toggles). */ export function LeftPanel() { const leftView = useTwinStore((s) => s.leftView) const setLeftView = useTwinStore((s) => s.setLeftView) return (