Adding reducer

This commit is contained in:
okbel
2018-05-02 20:58:34 -03:00
parent 478770f6c6
commit 59cac9db8b
11 changed files with 89 additions and 16 deletions
@@ -22,8 +22,12 @@ const withData = withFragments({
`,
});
const mapStateToProps = ({ talkPluginLocalAuth: state }) => ({
showAddEmailDialog: state.showAddEmailDialog,
});
export default compose(
connect(null, mapDispatchToProps),
connect(mapStateToProps, mapDispatchToProps),
withAttachLocalAuth,
withData
)(AddEmailAddressDialog);