diff --git a/apps/comments-ui/src/components/Comment.js b/apps/comments-ui/src/components/Comment.js index 4a831d61e5..19b22b08fc 100644 --- a/apps/comments-ui/src/components/Comment.js +++ b/apps/comments-ui/src/components/Comment.js @@ -2,9 +2,9 @@ import {formatRelativeTime} from '../utils/helpers'; import React from 'react'; import AppContext from '../AppContext'; import Avatar from './Avatar'; -import CommentContextMenu from './modals/CommentContextMenu'; -import {ReactComponent as LikeIcon} from '../images/icons/like.svg'; -import {ReactComponent as MoreIcon} from '../images/icons/more.svg'; +import Like from './Like'; +import Reply from './Reply'; +import More from './More'; class Comment extends React.Component { static contextType = AppContext; @@ -54,11 +54,9 @@ class Comment extends React.Component {

- -
- {this.hasMoreContextMenu ? : null} - {this.state.isContextMenuOpen ? : null} -
+ + +
diff --git a/apps/comments-ui/src/components/More.js b/apps/comments-ui/src/components/More.js index bccfff1650..cf442b0579 100644 --- a/apps/comments-ui/src/components/More.js +++ b/apps/comments-ui/src/components/More.js @@ -23,14 +23,15 @@ class More extends React.Component { render() { const comment = this.props.comment; + const show = this.props.show; return (
- - {this.state.isContextMenuOpen ? : null} + {show ? : null} + {this.state.isContextMenuOpen ? : null}
); } } - + export default More;