We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e348ad commit 9bb5a3cCopy full SHA for 9bb5a3c
src/useAppState.ts
@@ -15,7 +15,7 @@ export default function useAppState() {
15
return () => {
16
AppState.removeEventListener('change', onChange)
17
}
18
- })
+ }, [])
19
20
return appState
21
0 commit comments