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