10 lines
277 B
JavaScript
10 lines
277 B
JavaScript
import React from "react";
|
|
import { connect } from "react-redux";
|
|
import { doCloseModal } from "actions/app";
|
|
import ModalError from "./view";
|
|
|
|
const perform = dispatch => ({
|
|
closeModal: () => dispatch(doCloseModal()),
|
|
});
|
|
|
|
export default connect(null, perform)(ModalError);
|