mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
working, still wip
This commit is contained in:
@@ -6,6 +6,8 @@ import {closeFeaturedDialog} from '../actions';
|
||||
|
||||
const mapStateToProps = ({talkPluginFeaturedComments: state}) => ({
|
||||
showFeaturedDialog: state.showFeaturedDialog,
|
||||
comment: state.comment,
|
||||
asset: state.asset,
|
||||
});
|
||||
|
||||
const mapDispatchToProps = (dispatch) =>
|
||||
@@ -14,8 +16,8 @@ const mapDispatchToProps = (dispatch) =>
|
||||
}, dispatch);
|
||||
|
||||
const enhance = compose(
|
||||
withTags('featured'),
|
||||
connect(mapStateToProps, mapDispatchToProps),
|
||||
withTags('featured'),
|
||||
);
|
||||
|
||||
export default enhance(FeaturedDialog);
|
||||
|
||||
Reference in New Issue
Block a user