aboutsummaryrefslogtreecommitdiff
path: root/src/AppContext.tsx
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-04-20 19:07:29 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2025-04-20 19:07:29 +0200
commit340865ad234f974ec4c0afcbfb6ff06f50a11b2f (patch)
tree06b6a76b6dfc535f9091990eaaec82b50d5f851e /src/AppContext.tsx
parent32bc4914759845516de2b7592b05afb3c3cc5c42 (diff)
Load stops from local data files
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={{