diff --git a/client/coral-embed-stream/src/containers/Stream.js b/client/coral-embed-stream/src/containers/Stream.js index b4b800d3c..b54e69dd6 100644 --- a/client/coral-embed-stream/src/containers/Stream.js +++ b/client/coral-embed-stream/src/containers/Stream.js @@ -112,8 +112,8 @@ class StreamContainer extends React.Component { componentDidMount() { if (this.props.previousTab) { - this.props.data.refetch(); - this.props.setCommentCountCache(0); + this.props.data.refetch() + .then(() => this.props.setCommentCountCache(0)); } this.countPoll = setInterval(() => { this.getCounts(this.props.data.variables);