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

(cherry picked from commit ee41e80)
  • Loading branch information
mountiny authored and OSBotify committed Apr 9, 2024
1 parent a50123d commit 9c23313
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 9c23313

Please sign in to comment.