diff --git a/src/libs/Navigation/linkingConfig/getAdaptedStateFromPath.ts b/src/libs/Navigation/linkingConfig/getAdaptedStateFromPath.ts index 07d2fac3b2e1..f51f7fae3fb7 100644 --- a/src/libs/Navigation/linkingConfig/getAdaptedStateFromPath.ts +++ b/src/libs/Navigation/linkingConfig/getAdaptedStateFromPath.ts @@ -312,7 +312,9 @@ function getAdaptedState(state: PartialState 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