|
|
@ -28,7 +28,6 @@ function AuthApp() {
|
|
|
|
useEffect(() => {
|
|
|
|
useEffect(() => {
|
|
|
|
if (!("Notification" in window)) {
|
|
|
|
if (!("Notification" in window)) {
|
|
|
|
alert("This browser does not support desktop notification");
|
|
|
|
alert("This browser does not support desktop notification");
|
|
|
|
return false;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
Notification.requestPermission();
|
|
|
|
Notification.requestPermission();
|
|
|
|
}
|
|
|
|
}
|
|
|
|