Skip to content

Commit

Permalink
Prevented double initial navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwasow committed Feb 12, 2025
1 parent 95e8152 commit 6ea085c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/app/(auth)/(tabs)/_layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Feather } from '@expo/vector-icons'
import { useAuth } from '@state/AuthProvider'
import { Redirect, Tabs } from 'expo-router'
import { View } from 'tamagui'

// enum here to prevent typos in id when used in multiple places (typescript checkable)
enum TabName {
Expand Down
1 change: 0 additions & 1 deletion src/app/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import { config } from '../../tamagui.config'
import AuthProvider from '../state/AuthProvider'

export const unstable_settings = {
initialRouteName: '(public)/login',
backBehavior: 'history',
}

Expand Down

0 comments on commit 6ea085c

Please sign in to comment.