summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-09-08 15:48:19 +0200
committerSanto Cariotti <santo@dcariotti.me>2024-09-08 15:48:19 +0200
commita0a67340a5ceb2bcf78c1b7494c042a5e544f218 (patch)
tree28d246a8670b2c1344c461a89a02a2d16d95dd97
parent27746d592b72ccb04f51a6ba53b84d8de10382e9 (diff)
Update with an interval of 1 sec
-rw-r--r--app/(tabs)/index.tsx2
1 files changed, 1 insertions, 1 deletions
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);
}