2020-08-27 19:56:18 +02:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import { SETTINGS } from 'lbry-redux';
|
|
|
|
import { makeSelectClientSetting } from 'redux/selectors/settings';
|
2021-07-06 03:29:46 +02:00
|
|
|
import NagContinueFirstRun from './view';
|
2020-08-27 19:56:18 +02:00
|
|
|
|
2021-07-06 03:29:46 +02:00
|
|
|
const select = (state) => ({
|
2020-08-27 19:56:18 +02:00
|
|
|
followingAcknowledged: makeSelectClientSetting(SETTINGS.FOLLOWING_ACKNOWLEDGED)(state),
|
|
|
|
firstRunStarted: makeSelectClientSetting(SETTINGS.FIRST_RUN_STARTED)(state),
|
|
|
|
});
|
|
|
|
|
2021-07-06 03:29:46 +02:00
|
|
|
export default connect(select)(NagContinueFirstRun);
|