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

11 lines
317 B
JavaScript
Raw Normal View History

2021-07-21 17:33:28 +02:00
import { connect } from 'react-redux';
import Logo from './view';
import { makeSelectClientSetting } from 'redux/selectors/settings';
import { SETTINGS } from 'lbry-redux';
const select = (state, props) => ({
currentTheme: makeSelectClientSetting(SETTINGS.THEME)(state),
});
export default connect(select)(Logo);