From d1ba42e6921d4e44c1fa1ff1bf52be3676e0c4d8 Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Mon, 27 Jul 2026 21:30:55 -0400 Subject: [PATCH] Drop a stale doc pointer from two map comments --- src/features/map/MapView.tsx | 2 +- src/features/map/map-url.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/map/MapView.tsx b/src/features/map/MapView.tsx index 91e477b..7871077 100644 --- a/src/features/map/MapView.tsx +++ b/src/features/map/MapView.tsx @@ -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)); diff --git a/src/features/map/map-url.ts b/src/features/map/map-url.ts index db55f5e..6f9a522 100644 --- a/src/features/map/map-url.ts +++ b/src/features/map/map-url.ts @@ -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";