Drop a stale doc pointer from two map comments

This commit is contained in:
MrAlders0n
2026-07-27 21:30:55 -04:00
parent 9c037bc923
commit d1ba42e692
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ interface MapViewProps {
export function MapView({ wsManager, selectedNodeId, onSelectNode }: MapViewProps) {
// Deep-link params, read once at mount (like the region's ?iata seed). Each setting below is seeded
// URL -> localStorage -> default; the URL wins for this session but is never written back to
// localStorage, so a shared link can't clobber the visitor's saved prefs. See docs/superpowers/specs.
// localStorage, so a shared link can't clobber the visitor's saved prefs.
const [searchParams] = useSearchParams();
const [urlView] = useState(() => parseMapView(searchParams));
+1 -1
View File
@@ -1,6 +1,6 @@
// Deep-link map view <-> URL params. Pure and maplibre-free so it stays unit-testable; mirrors the
// region-selection.ts pattern. Inbound parsing is lenient — any invalid/unknown value is dropped so a
// malformed link degrades to the normal view rather than breaking. See docs/superpowers/specs.
// malformed link degrades to the normal view rather than breaking.
import { MAP_STYLES, type NeighborLinesMode } from "./types";
import { NODE_TYPE_NAMES } from "../../lib/node-types";