Add gravatar image to new comment form

This commit is contained in:
riccardo
2019-10-02 15:26:32 +02:00
parent 034a5ab708
commit e8d7fcc359
6 changed files with 23 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ interface Props {
isLoggedIn: boolean;
isPowerUser: boolean;
currentUserEmail: string;
}
const Comment = ({
@@ -39,6 +40,7 @@ const Comment = ({
isLoggedIn,
isPowerUser,
currentUserEmail,
}: Props) => (
<div className="comment">
<div className="commentHeader">
@@ -73,6 +75,7 @@ const Comment = ({
handleSubmit={handleSubmitComment}
isLoggedIn={isLoggedIn}
userEmail={currentUserEmail}
/>
:
null