From 1a648ca20e0755d0b8350e09312342f4c28201bb Mon Sep 17 00:00:00 2001 From: David Jay Date: Mon, 21 Nov 2016 17:12:55 -0500 Subject: [PATCH] Simplifying item references in CommentStream. --- client/coral-embed-stream/src/CommentStream.js | 2 +- client/coral-framework/actions/auth.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/coral-embed-stream/src/CommentStream.js b/client/coral-embed-stream/src/CommentStream.js index 9cf8bb3a1..9887b46ac 100644 --- a/client/coral-embed-stream/src/CommentStream.js +++ b/client/coral-embed-stream/src/CommentStream.js @@ -112,7 +112,7 @@ class CommentStream extends Component { { rootItem.comments && rootItem.comments.map((commentId) => { - const comment = this.props.items.comments[commentId]; + const comment = comments[commentId]; return

diff --git a/client/coral-framework/actions/auth.js b/client/coral-framework/actions/auth.js index a566ee15c..141e79ac0 100644 --- a/client/coral-framework/actions/auth.js +++ b/client/coral-framework/actions/auth.js @@ -3,7 +3,7 @@ import translations from './../translations'; const lang = new I18n(translations); import * as actions from '../constants/auth'; import {base, handleResp, getInit} from '../helpers/response'; -import {addItem} from './items' +import {addItem} from './items'; // Dialog Actions export const showSignInDialog = () => ({type: actions.SHOW_SIGNIN_DIALOG});