From a379886256c4a905e92b4439822aa8447ba8cce6 Mon Sep 17 00:00:00 2001 From: dukenv0307 Date: Wed, 13 Mar 2024 15:10:04 +0700 Subject: [PATCH] fix: unselect category when editing a split bill --- src/pages/iou/request/step/IOURequestStepCategory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/iou/request/step/IOURequestStepCategory.js b/src/pages/iou/request/step/IOURequestStepCategory.js index 1945edbc24c4..38f3f8803c53 100644 --- a/src/pages/iou/request/step/IOURequestStepCategory.js +++ b/src/pages/iou/request/step/IOURequestStepCategory.js @@ -93,7 +93,7 @@ function IOURequestStepCategory({ // In the split flow, when editing we use SPLIT_TRANSACTION_DRAFT to save draft value if (isEditingSplitBill) { - IOU.setDraftSplitTransaction(transaction.transactionID, {category: category.searchText}); + IOU.setDraftSplitTransaction(transaction.transactionID, {category: updatedCategory}); navigateBack(); return; }