mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-31 01:11:26 +00:00
16 lines
535 B
JavaScript
16 lines
535 B
JavaScript
import { connect } from 'react-redux';
|
|
import { selectDaemonVersionMatched } from 'redux/selectors/app';
|
|
import { selectNotification } from 'lbry-redux';
|
|
import { doCheckDaemonVersion } from 'redux/actions/app';
|
|
import SplashScreen from './view';
|
|
|
|
const select = state => ({
|
|
notification: selectNotification(state),
|
|
daemonVersionMatched: selectDaemonVersionMatched(state),
|
|
});
|
|
|
|
const perform = dispatch => ({
|
|
checkDaemonVersion: () => dispatch(doCheckDaemonVersion()),
|
|
});
|
|
|
|
export default connect(select, perform)(SplashScreen);
|