Skip to content

Commit 8f2e77b

Browse files
fix: sanitize line breaks to spaces
1 parent 71421d4 commit 8f2e77b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/TransactionItemRow/DataCells/MerchantCell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function MerchantOrDescriptionCell({merchantOrDescription, shouldShowTooltip, sh
4747
const handleChangeText = (value: string) => {
4848
// Sanitize line breaks on change for single line inputs.
4949
if (!isMultilineInput) {
50-
setLocalValue(StringUtils.removeLineBreaks(value));
50+
setLocalValue(StringUtils.lineBreaksToSpaces(value));
5151
return;
5252
}
5353
setLocalValue(value);

0 commit comments

Comments
 (0)