
reorganization, linting, updating file imports, consolidation warning: there will be errors in this commit todo: update webpack, add missing styles, scss files, consolidate the rest of components within features/*
8 lines
239 B
JavaScript
8 lines
239 B
JavaScript
import LoadingBar from 'react-redux-loading-bar';
|
|
|
|
const mapStateToProps = (state, ownProps) => ({
|
|
loading: state.get('loadingBar')[ownProps.scope || 'default'],
|
|
});
|
|
|
|
export default connect(mapStateToProps)(LoadingBar.WrappedComponent);
|