mirror of
https://github.com/zvx-echo6/navi.git
synced 2026-05-20 14:44:51 +02:00
No description
- JavaScript 96.9%
- CSS 2.9%
- HTML 0.2%
The boundary useEffect was only triggered when selectedPlace changed, but boundary data arrives asynchronously from /api/place fetch. By the time fetchPlaceDetails completed and enriched selectedPlace with boundary, the useEffect had already fired and saw no boundary. Fix: add selectedPlace?.boundary to the dependency array so the effect re-runs when boundary data is populated by the API response. Test sequence: - Click Twin Falls → boundary shows on first click - Click Kimberly → boundary shows on first click (was broken) - Click empty map → boundary clears - Click Twin Falls again → boundary shows on first click Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| public | ||
| src | ||
| .gitignore | ||
| deploy.sh | ||
| eslint.config.js | ||
| index.html | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| vite.config.js | ||
navi
Navi — self-hosted navigation web frontend for Echo6