9 lines
270 B
JavaScript
9 lines
270 B
JavaScript
import { connect } from 'react-redux';
|
|
import { doDismissError } from 'redux/actions/notifications';
|
|
import ModalError from './view';
|
|
|
|
const perform = dispatch => ({
|
|
closeModal: () => dispatch(doDismissError()),
|
|
});
|
|
|
|
export default connect(null, perform)(ModalError);
|