Skip to content

Commit e957dab

Browse files
committed
fix(layout): provide correct initial route name
1 parent f20b6e8 commit e957dab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/_layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ configureReanimatedLogger({
2828
})
2929

3030
export const unstable_settings = {
31-
initialRouteName: '/'
31+
// Ensure any route can link back to `/`
32+
initialRouteName: '(tabs)'
3233
}
33-
3434
// Ignore common React Native warnings
3535
LogBox.ignoreLogs([
3636
/VirtualizedLists should never be nested inside plain ScrollViews/, // avoid nested list warnings

0 commit comments

Comments
 (0)