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