b03623eb68
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.
10 lines
313 B
JavaScript
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);
|