Skip to content

Commit d0dc450

Browse files
committed
Fix prettier
1 parent 7ce153d commit d0dc450

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/libs/Navigation/Navigation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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));

0 commit comments

Comments
 (0)