12 lines
258 B
JavaScript
12 lines
258 B
JavaScript
import { connect } from 'react-redux';
|
|
import { selectTheme } from 'redux/selectors/settings';
|
|
import Spinner from './view';
|
|
|
|
const mapStateToProps = state => ({
|
|
theme: selectTheme(state),
|
|
});
|
|
|
|
export default connect(
|
|
mapStateToProps,
|
|
null
|
|
)(Spinner);
|