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