Progress
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import LoadingBar from 'react-redux-loading-bar';
|
||||
import LoadingBar from 'react-redux-loading-bar'
|
||||
|
||||
const mapStateToProps = (state, ownProps) => ({
|
||||
loading: state.get('loadingBar')[ownProps.scope || 'default'],
|
||||
});
|
||||
|
||||
export default connect(mapStateToProps)(LoadingBar.WrappedComponent);
|
||||
export default connect(mapStateToProps)(LoadingBar.WrappedComponent)
|
||||
|
||||
Reference in New Issue
Block a user