Skip to content

Commit 734a1a4

Browse files
committed
lint
1 parent b1961af commit 734a1a4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/pages/iou/request/step/IOURequestStepConfirmation.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,10 +486,12 @@ function IOURequestStepConfirmation({
486486

487487
hasPreInsertFired.current = true;
488488

489-
const route: Route = shouldPreInsertSearch ? ROUTES.SEARCH_ROOT.getRoute({query: buildCannedSearchQuery({type: searchType})}) : ROUTES.REPORT_WITH_ID.getRoute(destinationReportID);
489+
const preInsertFullscreenRoute: Route = shouldPreInsertSearch
490+
? ROUTES.SEARCH_ROOT.getRoute({query: buildCannedSearchQuery({type: searchType})})
491+
: ROUTES.REPORT_WITH_ID.getRoute(destinationReportID);
490492

491493
const timer = setTimeout(() => {
492-
Navigation.preInsertFullscreenUnderRHP(route);
494+
Navigation.preInsertFullscreenUnderRHP(preInsertFullscreenRoute);
493495
}, CONST.PRE_INSERT_FULLSCREEN_DELAY);
494496

495497
return () => {

0 commit comments

Comments
 (0)