mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Fix phone stuck after calling (#113)
This commit is contained in:
1 parent
f6d7a3dbe1
commit
51fb261e8a
1 file changed
-4
@@ -33,10 +33,6 @@ export const usePhoneVisibility = () => {
|
|||||||
setNotifVisibility(false);
|
setNotifVisibility(false);
|
||||||
}, DEFAULT_ALERT_HIDE_TIME);
|
}, DEFAULT_ALERT_HIDE_TIME);
|
||||||
}
|
}
|
||||||
return () => {
|
|
||||||
clearTimeout(notificationTimer.current);
|
|
||||||
notificationTimer.current = undefined;
|
|
||||||
};
|
|
||||||
}, [isNotificationVisibleOnly, setVisibility]);
|
}, [isNotificationVisibleOnly, setVisibility]);
|
||||||
|
|
||||||
const bottom = useMemo(() => {
|
const bottom = useMemo(() => {
|
||||||
|
|||||||
Reference in new issue
Block a user