Skip to content

Commit

Permalink
Merge pull request #17852 from allroundexperts/fix-17485
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Mechler authored Apr 24, 2023
2 parents fe816ec + 24a291b commit 17c1dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/IOU.js
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ function setIOUSelectedCurrency(selectedCurrencyCode) {
* @param {String} comment
*/
function setMoneyRequestDescription(comment) {
Onyx.merge(ONYXKEYS.IOU, {comment});
Onyx.merge(ONYXKEYS.IOU, {comment: comment.trim()});
}

/**
Expand Down

0 comments on commit 17c1dd8

Please sign in to comment.