3c4ccdd2fe
## Why - No memo required (no transformation). - `makeSelect*` is an incorrect pattern. ## Changes - Replaced makeSelectClientSetting with selectClientSetting. - Remove unused selectShowRepostedContent.
11 lines
442 B
JavaScript
11 lines
442 B
JavaScript
import { connect } from 'react-redux';
|
|
import * as SETTINGS from 'constants/settings';
|
|
import { selectClientSetting } from 'redux/selectors/settings';
|
|
import NagContinueFirstRun from './view';
|
|
|
|
const select = (state) => ({
|
|
followingAcknowledged: selectClientSetting(state, SETTINGS.FOLLOWING_ACKNOWLEDGED),
|
|
firstRunStarted: selectClientSetting(state, SETTINGS.FIRST_RUN_STARTED),
|
|
});
|
|
|
|
export default connect(select)(NagContinueFirstRun);
|