8b3e3eb839a4659b592c39c9ccf763fdaf5e9668
Two devices on the same account each kept their own localStorage location and re-asserted it onto Feeld's single shared account-location slot on every Discover mount — so loading the site on device B would overwrite the location device A had just set (San Antonio → Dallas). - useLocation: on server sync, always adopt the server's current/custom location, overriding this device's local cache (was local-first via a `!location` guard). Devices now converge to the server value on load. Expose `locationReady`. - Discover: wait for `locationReady` before pushing DeviceLocationUpdate, and push whenever the authoritative location changes (deduped by coords) instead of a one-shot stale-cache assert. Device B now stamps the server's value onto Feeld, not its own old location. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
88.7%
JavaScript
9.7%
CSS
1.3%
Dockerfile
0.2%