From ee0ef2789ea5ea25b57110d6284444814788ac95 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Tue, 19 Mar 2024 15:22:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20window.Notification?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/AuthApp.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/views/AuthApp.jsx b/src/views/AuthApp.jsx index 74fe21c..c44fbe1 100644 --- a/src/views/AuthApp.jsx +++ b/src/views/AuthApp.jsx @@ -28,7 +28,6 @@ function AuthApp() { useEffect(() => { if (!("Notification" in window)) { alert("This browser does not support desktop notification"); - return false; } else { Notification.requestPermission(); }