FIX: Suppression below was broken

This commit is contained in:
Robin Ward 2016-02-10 15:01:31 -05:00
parent 05377c62de
commit b5b1178f3a

View File

@ -28,7 +28,7 @@ export default createWidget('post-stream', {
continue;
}
const nextPost = (i < postArray.length - 1) ? postArray[i+i] : null;
const nextPost = (i < postArray.length - 1) ? postArray[i+1] : null;
const transformed = transformPost(this.currentUser, this.site, post, prevPost, nextPost);
transformed.canCreatePost = attrs.canCreatePost;