parent
1cfc9aa20e
commit
a86f21cf90
@ -0,0 +1,8 @@ |
|||||||
|
import { connect } from 'react-redux'; |
||||||
|
import LoadingBar from 'react-redux-loading-bar'; |
||||||
|
|
||||||
|
const mapStateToProps = (state) => ({ |
||||||
|
loading: state.get('loadingBar') |
||||||
|
}); |
||||||
|
|
||||||
|
export default connect(mapStateToProps)(LoadingBar.WrappedComponent); |
Loading…
Reference in new issue