Skip to content

Commit

Permalink
Merge pull request Expensify#30669 from zukilover/webfix-30135/arrow-…
Browse files Browse the repository at this point in the history
…up-delete

Fix arrow up on message deletion
  • Loading branch information
pecanoro authored Nov 3, 2023
2 parents 33dbb11 + 37954bb commit aa30ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionItemMessageEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ function ReportActionItemMessageEdit(props) {
// When user tries to save the empty message, it will delete it. Prompt the user to confirm deleting.
if (!trimmedNewDraft) {
textInputRef.current.blur();
ReportActionContextMenu.showDeleteModal(props.reportID, props.action, false, deleteDraft, () => InteractionManager.runAfterInteractions(() => textInputRef.current.focus()));
ReportActionContextMenu.showDeleteModal(props.reportID, props.action, true, deleteDraft, () => InteractionManager.runAfterInteractions(() => textInputRef.current.focus()));
return;
}
Report.editReportComment(props.reportID, props.action, trimmedNewDraft);
Expand Down

0 comments on commit aa30ef2

Please sign in to comment.