lbry-desktop/src/renderer/modal/modalIncompatibleDaemon/index.js

14 lines
339 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import { doQuit, doQuitAnyDaemon } from 'redux/actions/app';
import ModalIncompatibleDaemon from './view';
const perform = dispatch => ({
quit: () => dispatch(doQuit()),
quitAnyDaemon: () => dispatch(doQuitAnyDaemon()),
});
export default connect(
null,
perform
)(ModalIncompatibleDaemon);