Skip to content

Commit 9bb5a3c

Browse files
committed
from pr #38 from @arielger
1 parent 6e348ad commit 9bb5a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/useAppState.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function useAppState() {
1515
return () => {
1616
AppState.removeEventListener('change', onChange)
1717
}
18-
})
18+
}, [])
1919

2020
return appState
2121
}

0 commit comments

Comments
 (0)