mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-29 16:31:33 +00:00
19 lines
575 B
JavaScript
19 lines
575 B
JavaScript
import { connect } from 'react-redux';
|
|
import { selectDaemonVersionMatched, selectModal } from 'redux/selectors/app';
|
|
import { doCheckDaemonVersion, doNotifyUnlockWallet } from 'redux/actions/app';
|
|
import SplashScreen from './view';
|
|
|
|
const select = state => ({
|
|
modal: selectModal(state),
|
|
daemonVersionMatched: selectDaemonVersionMatched(state),
|
|
});
|
|
|
|
const perform = dispatch => ({
|
|
checkDaemonVersion: () => dispatch(doCheckDaemonVersion()),
|
|
notifyUnlockWallet: () => dispatch(doNotifyUnlockWallet()),
|
|
});
|
|
|
|
export default connect(
|
|
select,
|
|
perform
|
|
)(SplashScreen);
|