mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
9 lines
241 B
React
9 lines
241 B
React
![]() |
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);
|