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

11 lines
326 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 * as SETTINGS from 'constants/settings';
2021-07-21 17:33:28 +02:00
const select = (state, props) => ({
currentTheme: makeSelectClientSetting(SETTINGS.THEME)(state),
});
export default connect(select)(Logo);