2017-12-08 11:08:50 +01:00
|
|
|
import React from "react";
|
|
|
|
import { connect } from "react-redux";
|
2018-01-17 11:50:02 +01:00
|
|
|
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()),
|
2018-01-17 11:50:02 +01:00
|
|
|
declineAutoUpdate: () => dispatch(doAutoUpdateDeclined()),
|
2017-12-22 07:42:04 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(null, perform)(ModalAutoUpdateDownloaded);
|