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

@@ -12,6 +12,7 @@ interface Props {
postId: number;
isLoggedIn: boolean;
isPowerUser: boolean;
userEmail: string;
authenticityToken: string;
comments: Array<IComment>;
@@ -48,6 +49,7 @@ class CommentsP extends React.Component<Props> {
const {
isLoggedIn,
isPowerUser,
userEmail,
comments,
replyForms,
@@ -75,6 +77,7 @@ class CommentsP extends React.Component<Props> {
handleSubmit={this._handleSubmitComment}
isLoggedIn={isLoggedIn}
userEmail={userEmail}
/>
{ areLoading ? <Spinner /> : null }
@@ -94,6 +97,7 @@ class CommentsP extends React.Component<Props> {
level={1}
isLoggedIn={isLoggedIn}
isPowerUser={isPowerUser}
userEmail={userEmail}
/>
</div>
);