From 819db6470099f9833d5a5027020c369d4b40e323 Mon Sep 17 00:00:00 2001
From: Santo Cariotti <santo@dcariotti.me>
Date: Sat, 31 Aug 2024 12:37:42 +0200
Subject: Add boxs on alert page

---
 app/(tabs)/index.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'app/(tabs)/index.tsx')

diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx
index d8fcccd..48c47b4 100644
--- a/app/(tabs)/index.tsx
+++ b/app/(tabs)/index.tsx
@@ -139,7 +139,7 @@ export default function HomeScreen() {
 
   useEffect(() => {
     if (token && userId) {
-      const intervalId = setInterval(fetchMapData, 10000); // Fetch map data every 10 seconds
+      const intervalId = setInterval(fetchMapData, 10000);
 
       return () => clearInterval(intervalId);
     }
@@ -147,7 +147,7 @@ export default function HomeScreen() {
 
   useEffect(() => {
     if (mapRef.current && region) {
-      mapRef.current.animateToRegion(region, 1000); // Smoothly animate to the new region
+      mapRef.current.animateToRegion(region, 1000);
     }
   }, [region]);
 
@@ -173,7 +173,7 @@ export default function HomeScreen() {
       ) : (
         <>
           <ThemedView style={styles.titleContainer}>
-            <ThemedText type="title">Welcome, mate!</ThemedText>
+            <ThemedText type="subtitle">Welcome, mate!</ThemedText>
           </ThemedView>
           <ThemedView style={styles.formContainer}>
             <View>
-- 
cgit v1.2.3-71-g8e6c

