2017-12-21 22:08:54 +01:00
|
|
|
import { connect } from 'react-redux';
|
2018-03-16 00:04:15 +01:00
|
|
|
import { doQuit, doQuitAnyDaemon } from 'redux/actions/app';
|
2017-12-21 22:08:54 +01:00
|
|
|
import ModalIncompatibleDaemon from './view';
|
2017-07-19 23:05:08 +02:00
|
|
|
|
|
|
|
const perform = dispatch => ({
|
2017-07-29 21:22:17 +02:00
|
|
|
quit: () => dispatch(doQuit()),
|
2018-03-16 00:04:15 +01:00
|
|
|
quitAnyDaemon: () => dispatch(doQuitAnyDaemon()),
|
2017-07-19 23:05:08 +02:00
|
|
|
});
|
|
|
|
|
2018-11-01 22:55:25 +01:00
|
|
|
export default connect(
|
|
|
|
null,
|
|
|
|
perform
|
|
|
|
)(ModalIncompatibleDaemon);
|