working, still wip

This commit is contained in:
Belen Curcio
2017-12-18 13:34:48 -03:00
parent 5d288da69d
commit 9fb8e01cd2
7 changed files with 31 additions and 14 deletions
@@ -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);