lbry-desktop/ui/component/logo/index.js
infinite-persistence 3c4ccdd2fe
Kill makeSelectClientSetting
## Why
- No memo required (no transformation).
- `makeSelect*` is an incorrect pattern.

## Changes
- Replaced makeSelectClientSetting with selectClientSetting.
- Remove unused selectShowRepostedContent.
2021-11-23 12:29:53 +08:00

10 lines
318 B
JavaScript

import { connect } from 'react-redux';
import Logo from './view';
import { selectClientSetting } from 'redux/selectors/settings';
import * as SETTINGS from 'constants/settings';
const select = (state, props) => ({
currentTheme: selectClientSetting(state, SETTINGS.THEME),
});
export default connect(select)(Logo);