0.2.3 #99
7 changed files with 7 additions and 28 deletions
|
|
@ -57,7 +57,4 @@ const mapDispatchToProps = dispatch => ({
|
||||||
fetchCategories: () => dispatch(fetchCategories()),
|
fetchCategories: () => dispatch(fetchCategories()),
|
||||||
});
|
});
|
||||||
|
|
||||||
export default connect(
|
export default connect(mapStateToProps, mapDispatchToProps)(App);
|
||||||
mapStateToProps,
|
|
||||||
mapDispatchToProps
|
|
||||||
)(App);
|
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,4 @@ const mapDispatchToProps = dispatch => ({
|
||||||
markPostRead: (post, token) => dispatch(markPostRead(post, token)),
|
markPostRead: (post, token) => dispatch(markPostRead(post, token)),
|
||||||
});
|
});
|
||||||
|
|
||||||
export default connect(
|
export default connect(null, mapDispatchToProps)(PostModal);
|
||||||
null,
|
|
||||||
mapDispatchToProps
|
|
||||||
)(PostModal);
|
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,4 @@ const mapDispatchToProps = dispatch => ({
|
||||||
fetchPostsBySection: (rule, page = false) => dispatch(fetchPostsBySection(rule, page)),
|
fetchPostsBySection: (rule, page = false) => dispatch(fetchPostsBySection(rule, page)),
|
||||||
});
|
});
|
||||||
|
|
||||||
export default connect(
|
export default connect(mapStateToProps, mapDispatchToProps)(FeedList);
|
||||||
mapStateToProps,
|
|
||||||
mapDispatchToProps
|
|
||||||
)(FeedList);
|
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,4 @@ const mapDispatchToProps = dispatch => ({
|
||||||
selectPost: post => dispatch(selectPost(post)),
|
selectPost: post => dispatch(selectPost(post)),
|
||||||
});
|
});
|
||||||
|
|
||||||
export default connect(
|
export default connect(null, mapDispatchToProps)(PostItem);
|
||||||
null,
|
|
||||||
mapDispatchToProps
|
|
||||||
)(PostItem);
|
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,4 @@ const mapDispatchToProps = dispatch => ({
|
||||||
fetchCategory: category => dispatch(fetchCategory(category)),
|
fetchCategory: category => dispatch(fetchCategory(category)),
|
||||||
});
|
});
|
||||||
|
|
||||||
export default connect(
|
export default connect(null, mapDispatchToProps)(CategoryItem);
|
||||||
null,
|
|
||||||
mapDispatchToProps
|
|
||||||
)(CategoryItem);
|
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,4 @@ const mapDispatchToProps = dispatch => ({
|
||||||
|
|
||||||
const mapStateToProps = state => ({ selected: state.selected.item });
|
const mapStateToProps = state => ({ selected: state.selected.item });
|
||||||
|
|
||||||
export default connect(
|
export default connect(mapStateToProps, mapDispatchToProps)(ReadButton);
|
||||||
mapStateToProps,
|
|
||||||
mapDispatchToProps
|
|
||||||
)(ReadButton);
|
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,4 @@ const mapDispatchToProps = dispatch => ({
|
||||||
fetchRule: rule => dispatch(fetchRule(rule)),
|
fetchRule: rule => dispatch(fetchRule(rule)),
|
||||||
});
|
});
|
||||||
|
|
||||||
export default connect(
|
export default connect(null, mapDispatchToProps)(RuleItem);
|
||||||
null,
|
|
||||||
mapDispatchToProps
|
|
||||||
)(RuleItem);
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue