lbry-desktop/ui/js/modal/modalError/index.js
2017-11-13 16:02:23 -05:00

10 lines
283 B
JavaScript

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