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%
Symptom: HAR capture showed /api/geocode requests with NO lat/lon/zoom params despite map being centered on Twin Falls. Results returned out-of-state addresses (Illinois, Iowa, Arkansas). Root cause: SearchBar subscribed to mapCenter via React hook, but the value was stale at search time due to render timing. Fix: api.js searchGeocode now reads mapCenter directly from the store via useStore.getState() at call time. This is the correct pattern for non-component code. SearchBar no longer passes mapCenter as a param. |
||
|---|---|---|
| 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