Skip to content

Commit 4dd6e2a

Browse files
authored
Merge pull request Expensify#65077 from software-mansion-labs/@adamgrzybowski/fix-goBack-pop-param-regression
Fix go back param compare regression after react-navigation 7 bump
2 parents 9bf9635 + 82afdf2 commit 4dd6e2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/Navigation/Navigation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ function navigate(route: Route, options?: LinkToOptions) {
205205
* When routes are compared to determine whether the fallback route passed to the goUp function is in the state,
206206
* these parameters shouldn't be included in the comparison.
207207
*/
208-
const routeParamsIgnore = ['path', 'initial', 'params', 'state', 'screen', 'policyID'];
208+
const routeParamsIgnore = ['path', 'initial', 'params', 'state', 'screen', 'policyID', 'pop'];
209209

210210
/**
211211
* @private

0 commit comments

Comments
 (0)