From 1beee686086198465ff3a4d8d7bd3da08111fbca Mon Sep 17 00:00:00 2001 From: Julian Kingman Date: Tue, 19 Jun 2018 12:29:47 -0400 Subject: [PATCH] rm appstate --- src/CircularProgress.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/CircularProgress.js b/src/CircularProgress.js index c736bb2..df21fff 100644 --- a/src/CircularProgress.js +++ b/src/CircularProgress.js @@ -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,