lbry-desktop/src/renderer/modal/modalAutoUpdateDownloaded/index.js
Alex Liebowitz b03623eb68 Convert Windows update alert dialog to native dialog in main process
Maybe a bit less polished, but I couldn't find a way to prevent the
main window from closing that works on the current version of Electron,
and in general it was starting to get too complicated.
2018-01-12 00:30:23 -05:00

10 lines
313 B
JavaScript

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