11 lines
281 B
JavaScript
11 lines
281 B
JavaScript
import { connect } from 'react-redux';
|
|
import { doHideModal } from 'redux/actions/app';
|
|
import ModalSyncEnable from './view';
|
|
|
|
const perform = dispatch => () => ({
|
|
closeModal: () => {
|
|
dispatch(doHideModal());
|
|
},
|
|
});
|
|
|
|
export default connect(null, perform)(ModalSyncEnable);
|