Skip to content

Commit

Permalink
Merge pull request #39938 from hoangzinh/fix-39837
Browse files Browse the repository at this point in the history
[CP Staging] Fix - Welcome modal is displayed on Abracadabra page after sign in
  • Loading branch information
mountiny authored Apr 9, 2024
2 parents dc13543 + 06c9c74 commit ee41e80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libs/Navigation/linkingConfig/getAdaptedStateFromPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,9 @@ function getAdaptedState(state: PartialState<NavigationState<RootStackParamList>
metainfo,
};
}
if (bottomTabNavigator) {

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

0 comments on commit ee41e80

Please sign in to comment.