|
@@ -67,6 +67,7 @@ function Comment({ thread, threadId, comment }: CommentProps) {
|
|
|
{editing ? (
|
|
{editing ? (
|
|
|
<AutoExpandingTextArea
|
|
<AutoExpandingTextArea
|
|
|
className="rp-comment-input"
|
|
className="rp-comment-input"
|
|
|
|
|
+ defaultValue={comment.content}
|
|
|
onKeyPress={handleSaveEditOnEnter}
|
|
onKeyPress={handleSaveEditOnEnter}
|
|
|
onBlur={handleSaveEdit}
|
|
onBlur={handleSaveEdit}
|
|
|
onClick={e => e.stopPropagation()}
|
|
onClick={e => e.stopPropagation()}
|