lbry-desktop/ui/component/nagContinueFirstRun/index.js

12 lines
445 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import { SETTINGS } from 'lbry-redux';
import { makeSelectClientSetting } from 'redux/selectors/settings';
import NagContinueFirstRun from './view';
const select = (state) => ({
followingAcknowledged: makeSelectClientSetting(SETTINGS.FOLLOWING_ACKNOWLEDGED)(state),
firstRunStarted: makeSelectClientSetting(SETTINGS.FIRST_RUN_STARTED)(state),
});
export default connect(select)(NagContinueFirstRun);