From 317f7134f2a24d4d1f5d7c772be8d82a16b3902f Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Mon, 22 May 2017 09:03:10 -0300 Subject: [PATCH] linting --- client/coral-embed-stream/src/components/Stream.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/coral-embed-stream/src/components/Stream.js b/client/coral-embed-stream/src/components/Stream.js index bdf00c46c..ab551e33e 100644 --- a/client/coral-embed-stream/src/components/Stream.js +++ b/client/coral-embed-stream/src/components/Stream.js @@ -19,7 +19,7 @@ import ChangeUsernameContainer const lang = new I18n(translations); class Stream extends React.Component { - setActiveReplyBox = reactKey => { + setActiveReplyBox = (reactKey) => { if (!this.props.auth.user) { this.props.showSignInDialog(); } else { @@ -66,11 +66,11 @@ class Stream extends React.Component { const firstCommentDate = asset.comments[0] ? asset.comments[0].created_at : new Date(Date.now() - 1000 * 60 * 60 * 24 * 7).toISOString(); - const commentIsIgnored = comment => { + const commentIsIgnored = (comment) => { return ( me && me.ignoredUsers && - me.ignoredUsers.find(u => u.id === comment.user.id) + me.ignoredUsers.find((u) => u.id === comment.user.id) ); }; return ( @@ -174,7 +174,7 @@ class Stream extends React.Component { setCommentCountCache={this.props.setCommentCountCache} />
- {comments.map(comment => { + {comments.map((comment) => { return commentIsIgnored(comment) ? :