rm appstate

This commit is contained in:
Julian Kingman 2018-06-19 12:29:47 -04:00
parent e6514b40c0
commit 1beee68608

View File

@ -33,12 +33,6 @@ export default class CircularProgress extends React.Component {
clampFill = fill => Math.min(100, Math.max(0, fill));
componentDidMount = () => AppState.addEventListener('change', this.handleAppStateChange);
componentWillUnmount = () => AppState.removeEventListener('change', this.handleAppStateChange);
handleAppStateChange = appState => this.setState({ appState });
render() {
const {
size,