From 340865ad234f974ec4c0afcbfb6ff06f50a11b2f Mon Sep 17 00:00:00 2001
From: Ariel Costas Guerrero <ariel@costas.dev>
Date: Sun, 20 Apr 2025 19:07:29 +0200
Subject: Load stops from local data files

---
 src/AppContext.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/AppContext.tsx')

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={{ 
-- 
cgit v1.3

