madiator.com/ui/modal/modalError/index.js

10 lines
270 B
JavaScript
Raw Normal View History

2021-08-16 12:11:25 +02:00
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);