mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Properly clean and reset navigators
This commit is contained in:
@@ -4,7 +4,6 @@ import TimelineDefault from '@components/Timeline/Default'
|
||||
import SegmentedControl from '@react-native-community/segmented-control'
|
||||
import { NativeStackScreenProps } from '@react-navigation/native-stack'
|
||||
import { TabPublicStackParamList } from '@utils/navigation/navigators'
|
||||
import usePopToTop from '@utils/navigation/usePopToTop'
|
||||
import { QueryKeyTimeline } from '@utils/queryHooks/timeline'
|
||||
import { getGlobalStorage, setGlobalStorage } from '@utils/storage/actions'
|
||||
import { StorageGlobal } from '@utils/storage/global'
|
||||
@@ -75,8 +74,6 @@ const Root: React.FC<NativeStackScreenProps<TabPublicStackParamList, 'Tab-Public
|
||||
})
|
||||
}, [mode, segment])
|
||||
|
||||
usePopToTop()
|
||||
|
||||
return (
|
||||
<TabView
|
||||
lazy
|
||||
|
Reference in New Issue
Block a user