File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -305,13 +305,13 @@ function goUp(backToRoute: Route, options?: GoBackOptions) {
305305 return ;
306306 }
307307
308- /**
308+ /**
309309 * In react-navigation 7 the behavior of the `navigate` function has slightly changed.
310310 * If it detects that a screen that we want to navigate to is already in the stack, it doesn't go back anymore.
311311 * More: https://reactnavigation.org/docs/upgrading-from-6.x#the-navigate-method-no-longer-goes-back-use-popto-instead
312312 */
313313 if ( minimalAction . type === CONST . NAVIGATION . ACTION_TYPE . NAVIGATE ) {
314- minimalAction . type = CONST . NAVIGATION . ACTION_TYPE . NAVIGATE_DEPRECATED
314+ minimalAction . type = CONST . NAVIGATION . ACTION_TYPE . NAVIGATE_DEPRECATED ;
315315 }
316316
317317 const indexOfBackToRoute = targetState . routes . findLastIndex ( ( route ) => doesRouteMatchToMinimalActionPayload ( route , minimalAction , compareParams ) ) ;
You can’t perform that action at this time.
0 commit comments