mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Add integration test for comments (not finished)
This commit is contained in:
@@ -39,7 +39,7 @@ const Comment = ({
|
||||
</div>
|
||||
<p className="commentBody">{body}</p>
|
||||
<div className="commentFooter">
|
||||
<a onClick={handleToggleCommentReply}>Reply</a>
|
||||
<a className="commentReplyButton" onClick={handleToggleCommentReply}>Reply</a>
|
||||
<MutedText>{updatedAt}</MutedText>
|
||||
</div>
|
||||
{
|
||||
|
||||
@@ -20,6 +20,7 @@ const NewComment = ({
|
||||
<textarea
|
||||
value={body}
|
||||
onChange={handleChange}
|
||||
className="newCommentBody"
|
||||
/>
|
||||
<Button onClick={() => handleSubmit(body, parentId)}>Submit</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user