lbry-desktop/ui/modal/modalAutoUpdateDownloaded/index.js

14 lines
373 B
JavaScript
Raw Normal View History

2018-02-23 17:24:00 -07:00
import { connect } from 'react-redux';
import { doAutoUpdateDeclined, doHideModal } from 'redux/actions/app';
2018-02-23 17:24:00 -07:00
import ModalAutoUpdateDownloaded from './view';
2017-12-08 05:08:50 -05:00
2017-12-22 01:42:04 -05:00
const perform = dispatch => ({
closeModal: () => dispatch(doHideModal()),
declineAutoUpdate: () => dispatch(doAutoUpdateDeclined()),
2017-12-22 01:42:04 -05:00
});
export default connect(
null,
perform
)(ModalAutoUpdateDownloaded);