diff --git a/src/libs/Navigation/linkingConfig/getAdaptedStateFromPath.ts b/src/libs/Navigation/linkingConfig/getAdaptedStateFromPath.ts index a9ce45214e5f..fce13143f3fe 100644 --- a/src/libs/Navigation/linkingConfig/getAdaptedStateFromPath.ts +++ b/src/libs/Navigation/linkingConfig/getAdaptedStateFromPath.ts @@ -379,7 +379,7 @@ const getAdaptedStateFromPath: GetAdaptedStateFromPath = (path, options, shouldR const state = getStateFromPath(pathWithoutPolicyID, options) as PartialState>; if (shouldReplacePathInNestedState) { - replacePathInNestedState(state, path); + replacePathInNestedState(state, normalizedPath); } if (state === undefined) { throw new Error('Unable to parse path');