(current?: typeof routeReading)
| 82 | const controller = new AbortController(); |
| 83 | // A refresh of the same index keeps the connections on screen until the new ones arrive (hand test 2026-10-04, A3). |
| 84 | const kept = (current?: typeof routeReading) => current?.base === routeBase && current.snapshot ? { snapshot: current.snapshot } : {}; |
| 85 | setRouteReading(current => ({ key: routeKey, base: routeBase, ...kept(current), refreshing: true })); |
| 86 | void loadRouteGraph(project, { signal: controller.signal }).then(snapshot => { |
| 87 | if (!controller.signal.aborted) setRouteReading({ key: routeKey, base: routeBase, snapshot }); |
no outgoing calls
no test coverage detected