Deleting waypoints down to <2 left the last computed route rendered — nothing cleared the stale geometry (recompute only runs for >=2). Add a waypoints observer that drops the computed geometry once fewer than two waypoints remain, via a new clearComputedRoute (keeps the routing profile, unlike clearRouteData). Covers all delete paths (sidebar, map, undo). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| jobs | ||
| lib | ||
| routes | ||
| types | ||
| entry.client.tsx | ||
| entry.server.tsx | ||
| root.tsx | ||
| routes.ts | ||
| styles.css | ||