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

13 lines
398 B
JavaScript

import React from "react";
import { connect } from "react-redux";
import { doDownloadUpgrade, doSkipUpgrade } from "redux/actions/app";
import ModalUpgrade from "./view";
const select = state => ({});
const perform = dispatch => ({
downloadUpgrade: () => dispatch(doDownloadUpgrade()),
skipUpgrade: () => dispatch(doSkipUpgrade()),
});
export default connect(select, perform)(ModalUpgrade);