99ceaadf8b
* add hosting to first run, enable auto hosting * take welcomeVersion out of sync * app strings fix * recommended view hosting limit * small changes * fixes * appstrings * small fix
17 lines
634 B
JavaScript
17 lines
634 B
JavaScript
import { connect } from 'react-redux';
|
|
import { doSetDaemonSetting, doGetDaemonStatus } from 'redux/actions/settings';
|
|
import { selectDaemonSettings } from 'redux/selectors/settings';
|
|
import SettingWalletServer from './view';
|
|
import { selectDiskSpace } from 'redux/selectors/app';
|
|
|
|
const select = (state) => ({
|
|
daemonSettings: selectDaemonSettings(state),
|
|
diskSpace: selectDiskSpace(state),
|
|
});
|
|
|
|
const perform = (dispatch) => ({
|
|
getDaemonStatus: () => dispatch(doGetDaemonStatus()),
|
|
setDaemonSetting: (key, value) => dispatch(doSetDaemonSetting(key, value)),
|
|
});
|
|
|
|
export default connect(select, perform)(SettingWalletServer);
|