mirror of
https://github.com/wassname/talk.git
synced 2026-08-18 12:30:39 +08:00
Adding reducer
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user