mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Minor fixes according to DeepScan
GitHub actions'a Mac is without connectivity again..
This commit is contained in:
@ -30,9 +30,9 @@ const ScreenMeSettingsPush: React.FC = () => {
|
||||
}
|
||||
useEffect(() => {
|
||||
checkPush()
|
||||
AppState.addEventListener('change', () => checkPush())
|
||||
AppState.addEventListener('change', checkPush)
|
||||
return () => {
|
||||
AppState.removeEventListener('change', () => checkPush())
|
||||
AppState.removeEventListener('change', checkPush)
|
||||
}
|
||||
}, [])
|
||||
|
||||
|
Reference in New Issue
Block a user