0
0
Fork 0

Fix rake tasks and loading bar

This commit is contained in:
Eugen Rochko 2016-09-20 01:53:30 +02:00
parent 1cfc9aa20e
commit a86f21cf90
3 changed files with 17 additions and 7 deletions

View file

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