madiator.com/ui/component/theme/index.js
2021-08-16 12:11:25 +02:00

9 lines
236 B
JavaScript

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);