From 5671a128dfb2cb7dbc89a7b7c97af6d93e9205f7 Mon Sep 17 00:00:00 2001 From: Fitsum Abebe Date: Sat, 16 Dec 2023 11:45:59 +0300 Subject: [PATCH] reset category and tag on navigating to confirmation page --- src/pages/iou/request/step/IOURequestStepParticipants.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/iou/request/step/IOURequestStepParticipants.js b/src/pages/iou/request/step/IOURequestStepParticipants.js index 85d67ea34bae..ec670b828146 100644 --- a/src/pages/iou/request/step/IOURequestStepParticipants.js +++ b/src/pages/iou/request/step/IOURequestStepParticipants.js @@ -71,6 +71,8 @@ function IOURequestStepParticipants({ const goToNextStep = useCallback(() => { const nextStepIOUType = numberOfParticipants.current === 1 ? iouType : CONST.IOU.TYPE.SPLIT; + IOU.resetMoneyRequestTag_temporaryForRefactor(transactionID); + IOU.resetMoneyRequestCategory_temporaryForRefactor(transactionID); Navigation.navigate(ROUTES.MONEY_REQUEST_STEP_CONFIRMATION.getRoute(nextStepIOUType, transactionID, selectedReportID.current || reportID)); }, [iouType, transactionID, reportID]);