diff --git a/docs/next/appstate.html b/docs/next/appstate.html index ff09e5c4661..a72b0fc949f 100644 --- a/docs/next/appstate.html +++ b/docs/next/appstate.html @@ -107,7 +107,7 @@ return () => { AppState.removeEventListener("change", _handleAppStateChange); }; - }, []); + }, [_handleAppStateChange]); const _handleAppStateChange = (nextAppState) => { if (appState.current.match(/inactive|background/) && nextAppState === "active") { @@ -135,7 +135,7 @@
return () => { AppState.removeEventListener("change", _handleAppStateChange); }; - }, []); + }, [_handleAppStateChange]); const _handleAppStateChange = (nextAppState) => { if (appState.current.match(/inactive|background/) && nextAppState === "active") { @@ -135,7 +135,7 @@