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