logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

loading_bar_container.js (242B)


  1. import { connect } from 'react-redux';
  2. import LoadingBar from 'react-redux-loading-bar';
  3. const mapStateToProps = (state) => ({
  4. loading: state.get('loadingBar'),
  5. });
  6. export default connect(mapStateToProps)(LoadingBar.WrappedComponent);