Skip to content

Commit

Permalink
Change to use and operator
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangzinh committed Apr 9, 2024
1 parent 53ebfda commit bce605f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ function getAdaptedState(state: PartialState<NavigationState<RootStackParamList>
}

// We need to make sure that this if only handles states where we deeplink to the bottom tab directly
if(bottomTabNavigator?.state) {
if(bottomTabNavigator && bottomTabNavigator.state) {
// Routes
// - found bottom tab
// - matching central pane on desktop layout
Expand Down

0 comments on commit bce605f

Please sign in to comment.