aboutsummaryrefslogtreecommitdiff
path: root/src/AppContext.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/AppContext.tsx')
-rw-r--r--src/AppContext.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AppContext.tsx b/src/AppContext.tsx
index 4ff391b..a9af208 100644
--- a/src/AppContext.tsx
+++ b/src/AppContext.tsx
@@ -155,7 +155,7 @@ export const AppProvider = ({ children }: { children: ReactNode }) => {
);
}
}
- }, []);
+ }, [mapState.hasLocationPermission, mapState.userLocation]);
return (
<AppContext.Provider value={{