lbry-desktop/ui/js/component/upgradeModal/index.jsx
2017-05-02 18:24:21 -04:00

19 lines
397 B
JavaScript

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