78c27b4601
This reverts commit 24100fac06
.
14 lines
416 B
JavaScript
14 lines
416 B
JavaScript
import { connect } from 'react-redux';
|
|
import { doAutoUpdateDeclined } from 'redux/actions/app';
|
|
import { doHideNotification } from 'lbry-redux';
|
|
import ModalAutoUpdateDownloaded from './view';
|
|
|
|
const perform = dispatch => ({
|
|
closeModal: () => dispatch(doHideNotification()),
|
|
declineAutoUpdate: () => dispatch(doAutoUpdateDeclined()),
|
|
});
|
|
|
|
export default connect(
|
|
null,
|
|
perform
|
|
)(ModalAutoUpdateDownloaded);
|