* fix: padding * fix: Minor button alignment issues * feat: Add icon to invite people button * WIP
26 lines
451 B
JavaScript
26 lines
451 B
JavaScript
// @flow
|
|
import * as React from 'react';
|
|
import { inject, observer } from 'mobx-react';
|
|
import UiStore from 'stores/UiStore';
|
|
|
|
type Props = {
|
|
ui: UiStore,
|
|
};
|
|
|
|
@observer
|
|
class LoadingIndicator extends React.Component<Props> {
|
|
componentDidMount() {
|
|
this.props.ui.enableProgressBar();
|
|
}
|
|
|
|
componentWillUnmount() {
|
|
this.props.ui.disableProgressBar();
|
|
}
|
|
|
|
render() {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
export default inject('ui')(LoadingIndicator);
|