lbry-desktop/ui/component/wallpaper/index.js

13 lines
377 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import Wallpaper from './view';
import * as SETTINGS from 'constants/settings';
import { makeSelectClientSetting } from 'redux/selectors/settings';
const select = (state) => ({
disableBackground: makeSelectClientSetting(SETTINGS.DISABLE_BACKGROUND)(state),
});
const perform = {};
export default connect(select, perform)(Wallpaper);