Skip to content

Commit 82afdf2

Browse files
add pop param to ignored params for goBack compare function
1 parent 04414ea commit 82afdf2

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)