Add comment

This commit is contained in:
Eric Bailey
2025-12-04 13:06:18 -06:00
parent 6a8a2143ec
commit c60b7d7e09
+4
View File
@@ -45,6 +45,10 @@ export function Provider({children}: {children: ReactNode}) {
}, [deviceGeolocation, geolocationService])
useEffect(() => {
/**
* Save this for out-of-band-reads during future cold starts of the app.
* Needs to be available for the data prefetching we do on boot.
*/
device.set(['mergedGeolocation'], geolocation)
}, [geolocation])