mirror of
https://github.com/wassname/talk.git
synced 2026-08-15 12:55:10 +08:00
Pending comment blur
This commit is contained in:
@@ -57,6 +57,7 @@ export class CommentContainer extends Component<InnerProps, State> {
|
||||
<Comment
|
||||
{...rest}
|
||||
{...comment}
|
||||
blur={comment.pending || false}
|
||||
footer={
|
||||
<>
|
||||
<ReplyButton
|
||||
@@ -100,6 +101,7 @@ const enhanced = withShowAuthPopupMutation(
|
||||
}
|
||||
body
|
||||
createdAt
|
||||
pending
|
||||
...ReplyCommentFormContainer_comment
|
||||
}
|
||||
`,
|
||||
|
||||
@@ -8,6 +8,7 @@ exports[`renders body only 1`] = `
|
||||
"username": null,
|
||||
}
|
||||
}
|
||||
blur={false}
|
||||
body="Woof"
|
||||
createdAt="1995-12-17T03:24:00.000Z"
|
||||
footer={
|
||||
@@ -38,6 +39,7 @@ exports[`renders username and body 1`] = `
|
||||
"username": "Marvin",
|
||||
}
|
||||
}
|
||||
blur={false}
|
||||
body="Woof"
|
||||
createdAt="1995-12-17T03:24:00.000Z"
|
||||
footer={
|
||||
|
||||
Reference in New Issue
Block a user