Skip to content

Commit

Permalink
fix: trim the content
Browse files Browse the repository at this point in the history
  • Loading branch information
allroundexperts committed Apr 23, 2023
1 parent ab669ad commit 24a291b
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 24a291b

Please sign in to comment.