Skip to content

Commit 23537ae

Browse files
authored
Merge pull request #61971 from Expensify/cmartins-fixNavigation
2 parents d814c8f + 986e2f9 commit 23537ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ROUTES.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -628,11 +628,11 @@ const ROUTES = {
628628
},
629629
MONEY_REQUEST_STEP_AMOUNT: {
630630
route: ':action/:iouType/amount/:transactionID/:reportID/:pageIndex?/:backToReport?',
631-
getRoute: (action: IOUAction, iouType: IOUType, transactionID: string | undefined, reportID: string | undefined, pageIndex: string, backToReport?: string, backTo = '') => {
631+
getRoute: (action: IOUAction, iouType: IOUType, transactionID: string | undefined, reportID: string | undefined, pageIndex: string, backTo = '') => {
632632
if (!transactionID || !reportID) {
633633
Log.warn('Invalid transactionID or reportID is used to build the MONEY_REQUEST_STEP_AMOUNT route');
634634
}
635-
return getUrlWithBackToParam(`${action as string}/${iouType as string}/amount/${transactionID}/${reportID}/${pageIndex}/${backToReport ?? ''}`, backTo);
635+
return getUrlWithBackToParam(`${action as string}/${iouType as string}/amount/${transactionID}/${reportID}/${pageIndex}`, backTo);
636636
},
637637
},
638638
MONEY_REQUEST_STEP_TAX_RATE: {

0 commit comments

Comments
 (0)