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

11 lines
318 B
JavaScript
Raw Normal View History

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