From c60b7d7e09cf003817b6a8fd5beb4a458168675f Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 4 Dec 2025 13:06:18 -0600 Subject: [PATCH] Add comment --- src/geolocation/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/geolocation/index.tsx b/src/geolocation/index.tsx index 953205619f..231182a579 100644 --- a/src/geolocation/index.tsx +++ b/src/geolocation/index.tsx @@ -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])