lbry-desktop/ui/js/component/modalUpgrade/index.js
2017-07-02 14:23:38 -04:00

13 lines
392 B
JavaScript

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