Viktoriia 1 месяц назад
Родитель
Сommit
dfc9f212eb
1 измененных файлов с 1 добавлено и 1 удалено
  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 () => {