Merge remote-tracking branch 'origin/fix_connectors'

This commit is contained in:
Ahmed Bouhuolia
2020-06-01 22:55:14 +02:00
52 changed files with 353 additions and 747 deletions

View File

@@ -0,0 +1,13 @@
import { connect } from 'react-redux';
import t from 'store/types';
export const mapStateToProps = (state, props) => {
return {};
};
export const mapDispatchToProps = (dispatch) => ({
openDialog: (name, payload) => dispatch({ type: t.OPEN_DIALOG, name, payload }),
closeDialog: (name, payload) => dispatch({ type: t.CLOSE_DIALOG, name, payload }),
});
export default connect(null, mapDispatchToProps);