From ff801d2169c37c1a1b6f48a2afbe20ab4d15c043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E7=BA=A7=E8=80=81=E7=99=BD=E5=85=94?= Date: Tue, 5 Aug 2025 12:02:05 +0800 Subject: [PATCH] =?UTF-8?q?FEAT=20=3D>=20=E6=9C=AC=E6=AC=A1=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E9=A1=B9=E7=9B=AE=E4=B8=BA=EF=BC=9A=20=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E6=AD=A3=E5=B8=B8=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nkebao/src/components/UpdateNotification/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nkebao/src/components/UpdateNotification/index.tsx b/nkebao/src/components/UpdateNotification/index.tsx index 529929d3..371b3d8a 100644 --- a/nkebao/src/components/UpdateNotification/index.tsx +++ b/nkebao/src/components/UpdateNotification/index.tsx @@ -51,9 +51,9 @@ const UpdateNotification: React.FC = ({ updateChecker.forceReload(); }; - // if (!isVisible || !hasUpdate) { - // return null; - // } + if (!isVisible || !hasUpdate) { + return null; + } return (