Skip to content

Commit 4cebf41

Browse files
author
CrowsVeldt
committed
feat: trim whitespace in comments
1 parent 9549013 commit 4cebf41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/src/CommentBody/CommentBody.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const CommentBody = ({ body }: IProps) => {
4242
}}
4343
ref={textRef}
4444
>
45-
<LinkifyText>{body}</LinkifyText>
45+
<LinkifyText>{body.trim()}</LinkifyText>
4646
</Text>
4747
{textHeight > SHORT_COMMENT && (
4848
<Text

0 commit comments

Comments
 (0)