Pending comment blur

This commit is contained in:
Chi Vinh Le
2018-09-07 18:18:39 +02:00
parent 88e44b2baf
commit 5010e342df
16 changed files with 1380 additions and 1236 deletions
@@ -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={