Improve comment components and its reducers

This commit is contained in:
riggraz
2019-09-26 18:22:18 +02:00
parent 678d2eaacf
commit f744c497a2
8 changed files with 152 additions and 81 deletions

View File

@@ -13,7 +13,7 @@ import CommentsP from '../components/Comments/CommentsP';
const mapStateToProps = (state: State) => ({
comments: state.currentPost.comments.items,
replies: state.currentPost.comments.replies,
replyForms: state.currentPost.comments.replyForms,
areLoading: state.currentPost.comments.areLoading,
error: state.currentPost.comments.error,
});