Skip to content

Commit

Permalink
Merge pull request #33222 from FitseTLT/fix-reset-category-and-tag
Browse files Browse the repository at this point in the history
Reset category and tag on navigating to confirmation page
  • Loading branch information
blimpich authored Dec 19, 2023
2 parents 91c7d0c + 5671a12 commit c0670af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/iou/request/step/IOURequestStepParticipants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]);

Expand Down

0 comments on commit c0670af

Please sign in to comment.