madiator.com/ui/component/theme/index.js

10 lines
236 B
JavaScript
Raw Normal View History

2021-08-16 12:11:25 +02:00
import { connect } from 'react-redux';
import { selectThemePath } from 'redux/selectors/settings';
import Theme from './view';
const select = state => ({
themePath: selectThemePath(state),
});
export default connect(select)(Theme);