From 2c757e9d574e6b66f663aa489250de6bec73df73 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Tue, 17 Oct 2017 15:18:53 -0300 Subject: [PATCH] Missing classes --- .../containers/ProfileContainer.js | 19 +++++++++---------- client/talk-plugin-history/CommentHistory.css | 0 client/talk-plugin-history/CommentHistory.js | 10 +++++++--- 3 files changed, 16 insertions(+), 13 deletions(-) delete mode 100644 client/talk-plugin-history/CommentHistory.css diff --git a/client/coral-settings/containers/ProfileContainer.js b/client/coral-settings/containers/ProfileContainer.js index dc69ea3f8..5adc25097 100644 --- a/client/coral-settings/containers/ProfileContainer.js +++ b/client/coral-settings/containers/ProfileContainer.js @@ -71,24 +71,23 @@ class ProfileContainer extends Component { const emailAddress = localProfile && localProfile.id; return ( -
+

{user.username}

- {emailAddress ?

{emailAddress}

: null} - + {emailAddress &&

{emailAddress}

} -
-

{t('framework.my_comments')}

- {me.comments.nodes.length - ? - :

{t('user_no_comment')}

} +
+ {me.comments.nodes.length + ? + :

{t('user_no_comment')}

} +
); } diff --git a/client/talk-plugin-history/CommentHistory.css b/client/talk-plugin-history/CommentHistory.css deleted file mode 100644 index e69de29bb..000000000 diff --git a/client/talk-plugin-history/CommentHistory.js b/client/talk-plugin-history/CommentHistory.js index 2e6f627e7..c64e5419b 100644 --- a/client/talk-plugin-history/CommentHistory.js +++ b/client/talk-plugin-history/CommentHistory.js @@ -1,7 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; import Comment from './Comment'; -import styles from './CommentHistory.css'; import LoadMore from './LoadMore'; import {forEachError} from 'plugin-api/beta/client/utils'; @@ -25,7 +24,7 @@ class CommentHistory extends React.Component { render() { const {link, comments, data, root} = this.props; return ( -
+
{comments.nodes.map((comment, i) => { return