From a0a67340a5ceb2bcf78c1b7494c042a5e544f218 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sun, 8 Sep 2024 15:48:19 +0200 Subject: Update with an interval of 1 sec --- app/(tabs)/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index 3303b28..9a17006 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -230,7 +230,7 @@ export default function HomeScreen() { useEffect(() => { if (token && userId) { - const intervalId = setInterval(fetchMapData, 10000); + const intervalId = setInterval(fetchMapData, 100000); return () => clearInterval(intervalId); } -- cgit v1.2.3-18-g5258