From 56f2445f4281752405226ab6d1fe692c08631fe2 Mon Sep 17 00:00:00 2001 From: tienifr Date: Mon, 8 Jan 2024 10:09:43 +0700 Subject: [PATCH] revert redundant changes --- src/ROUTES.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ROUTES.ts b/src/ROUTES.ts index c845a6dc11b4..e8a860582bb1 100644 --- a/src/ROUTES.ts +++ b/src/ROUTES.ts @@ -323,7 +323,7 @@ const ROUTES = { getUrlWithBackToParam(`create/${iouType}/amount/${transactionID}/${reportID}`, backTo), }, MONEY_REQUEST_STEP_TAX_RATE: { - route: 'create/:iouType/taxRate/:transactionID/:reportID', + route: 'create/:iouType/taxRate/:transactionID/:reportID?', getRoute: (iouType: ValueOf, transactionID: string, reportID: string, backTo: string) => getUrlWithBackToParam(`create/${iouType}/taxRate/${transactionID}/${reportID}`, backTo), }, @@ -333,7 +333,7 @@ const ROUTES = { getUrlWithBackToParam(`create/${iouType}/taxAmount/${transactionID}/${reportID}`, backTo), }, MONEY_REQUEST_STEP_CATEGORY: { - route: 'create/:iouType/category/:transactionID/:reportID?', + route: 'create/:iouType/category/:transactionID/:reportID', getRoute: (iouType: ValueOf, transactionID: string, reportID: string, backTo = '') => getUrlWithBackToParam(`create/${iouType}/category/${transactionID}/${reportID}`, backTo), },