diff --git a/client/coral-embed-stream/src/Comment.css b/client/coral-embed-stream/src/Comment.css new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/client/coral-embed-stream/src/Comment.css @@ -0,0 +1 @@ + diff --git a/client/coral-embed-stream/src/Comment.js b/client/coral-embed-stream/src/Comment.js index 0d19d7b30..0e5806e6b 100644 --- a/client/coral-embed-stream/src/Comment.js +++ b/client/coral-embed-stream/src/Comment.js @@ -15,11 +15,12 @@ import {ReplyBox, ReplyButton} from '../../coral-plugin-replies'; import FlagComment from '../../coral-plugin-flags/FlagComment'; import LikeButton from '../../coral-plugin-likes/LikeButton'; -const Comment = ({comment, currentUser, asset}) => { - console.log('A Comment', comment); - console.log('the asset', asset); +const Comment = ({comment, currentUser, asset, depth}) => { return ( -
+

{/* {
{ + comment.replies && comment.replies.map(reply => { return { }; Comment.propTypes = { + depth: PropTypes.number.isRequired, asset: PropTypes.shape({ id: PropTypes.string, title: PropTypes.string, diff --git a/client/coral-embed-stream/src/Stream.js b/client/coral-embed-stream/src/Stream.js index 999cfbd94..78a988553 100644 --- a/client/coral-embed-stream/src/Stream.js +++ b/client/coral-embed-stream/src/Stream.js @@ -8,6 +8,7 @@ const Stream = ({comments, currentUser, asset}) => { { comments.map(comment => { return