2020-08-27 19:56:18 +02:00
|
|
|
import { connect } from 'react-redux';
|
2021-10-17 10:36:14 +02:00
|
|
|
import * as SETTINGS from 'constants/settings';
|
2020-08-27 19:56:18 +02:00
|
|
|
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);
|