From 69ea37a520a220f9b185c2d55287bbfcf2a8470d Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Mon, 14 Nov 2016 18:48:08 -0300 Subject: [PATCH] removing mock --- client/coral-embed-stream/src/CommentStream.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/client/coral-embed-stream/src/CommentStream.js b/client/coral-embed-stream/src/CommentStream.js index 3fa989dcc..9728d07c8 100644 --- a/client/coral-embed-stream/src/CommentStream.js +++ b/client/coral-embed-stream/src/CommentStream.js @@ -38,7 +38,6 @@ const mapDispatchToProps = (dispatch) => ({ getStream: (rootId) => dispatch(getStream(rootId)), addNotification: (type, text) => dispatch(addNotification(type, text)), clearNotification: () => dispatch(clearNotification()), - setLoggedInUser: (user_id) => dispatch(setLoggedInUser(user_id)), postAction: (item, action, user, itemType) => dispatch(postAction(item, action, user, itemType)), appendItemArray: (item, property, value, addToFront, itemType) => dispatch(appendItemArray(item, property, value, addToFront, itemType)), @@ -68,11 +67,11 @@ class CommentStream extends Component { url: 'http://coralproject.net' }, 'asset', 'assetTest'); - // Loading mock user - this.props.postItem({name: 'Ban Ki-Moon'}, 'user', 'user_8989') - .then((id) => { - this.props.setLoggedInUser(id); - }); + // Loading mock user + //this.props.postItem({name: 'Ban Ki-Moon'}, 'user', 'user_8989') + // .then((id) => { + // this.props.setLoggedInUser(id); + // }); } // TODO: Replace teststream id with id from params