frontend > app

This commit is contained in:
Tom Moor
2017-10-25 22:49:04 -07:00
parent aa34db8318
commit 4863680d86
239 changed files with 11 additions and 11 deletions

View File

@ -0,0 +1,19 @@
// @flow
import React from 'react';
import { inject, observer } from 'mobx-react';
@observer class LoadingIndicator extends React.Component {
componentDidMount() {
this.props.ui.enableProgressBar();
}
componentWillUnmount() {
this.props.ui.disableProgressBar();
}
render() {
return null;
}
}
export default inject('ui')(LoadingIndicator);