lbry-desktop/src/renderer/modal/modalAutoUpdateDownloaded/index.js

12 lines
396 B
JavaScript
Raw Normal View History

2017-12-08 11:08:50 +01:00
import React from "react";
import { connect } from "react-redux";
import { doCloseModal, doAutoUpdateDeclined } from "redux/actions/app";
2017-12-08 11:08:50 +01:00
import ModalAutoUpdateDownloaded from "./view";
2017-12-22 07:42:04 +01:00
const perform = dispatch => ({
closeModal: () => dispatch(doCloseModal()),
declineAutoUpdate: () => dispatch(doAutoUpdateDeclined()),
2017-12-22 07:42:04 +01:00
});
export default connect(null, perform)(ModalAutoUpdateDownloaded);