mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01:00
Improve comment components and its reducers
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user