Przeglądaj źródła

location update

Viktoriia 1 miesiąc temu
rodzic
commit
dfc9f212eb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/screens/InAppScreens/MapScreen/index.tsx

+ 1 - 1
src/screens/InAppScreens/MapScreen/index.tsx

@@ -450,7 +450,7 @@ const MapScreen: any = ({ navigation, route }: { navigation: any; route: any })
         setNomads(filteredNomads);
       }
     }
-  }, [usersLocation, showNomads]);
+  }, [usersLocation, showNomads, refreshInterval]);
 
   useEffect(() => {
     const loadCachedIcons = async () => {