diff options
Diffstat (limited to 'app/(tabs)/notifications')
-rw-r--r-- | app/(tabs)/notifications/[id].tsx | 3 | ||||
-rw-r--r-- | app/(tabs)/notifications/index.tsx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/app/(tabs)/notifications/[id].tsx b/app/(tabs)/notifications/[id].tsx index 42e743d..ac39708 100644 --- a/app/(tabs)/notifications/[id].tsx +++ b/app/(tabs)/notifications/[id].tsx @@ -8,8 +8,7 @@ import { ThemedText } from '@/components/ThemedText'; import { ThemedView } from '@/components/ThemedView'; import React, { useState, useCallback, useEffect, useRef } from 'react'; import AsyncStorage from '@react-native-async-storage/async-storage'; -import { useFocusEffect } from '@react-navigation/native'; -import { Link, router, useLocalSearchParams } from 'expo-router'; +import { Link, router, useLocalSearchParams, useFocusEffect } from 'expo-router'; import MapView, { Marker, Polygon, Region } from 'react-native-maps'; import { Ionicons } from '@expo/vector-icons'; import { useColorScheme } from '@/hooks/useColorScheme.web'; diff --git a/app/(tabs)/notifications/index.tsx b/app/(tabs)/notifications/index.tsx index 673266f..fc9a904 100644 --- a/app/(tabs)/notifications/index.tsx +++ b/app/(tabs)/notifications/index.tsx @@ -11,8 +11,7 @@ import { ThemedText } from '@/components/ThemedText'; import { ThemedView } from '@/components/ThemedView'; import React, { useState, useCallback } from 'react'; import AsyncStorage from '@react-native-async-storage/async-storage'; -import { useFocusEffect } from '@react-navigation/native'; -import { Link, router } from 'expo-router'; +import { Link, router, useFocusEffect } from 'expo-router'; import { Ionicons } from '@expo/vector-icons'; interface NotificationData { |