From 9972319285087f4573f41cd261bfe664e05d1391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7?= <308487730@qq.com> Date: Fri, 10 Mar 2023 18:07:16 +0800 Subject: [PATCH] chore: typo --- src/components/update/index.tsx | 5 ++--- src/components/update/update.module.scss | 7 +++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/components/update/index.tsx b/src/components/update/index.tsx index 732cb9a..742784b 100644 --- a/src/components/update/index.tsx +++ b/src/components/update/index.tsx @@ -60,7 +60,6 @@ const Update = () => { }, []) const onDownloadProgress = useCallback((_event: Electron.IpcRendererEvent, arg1: ProgressInfo) => { - setUpdateAvailable(true) setProgressInfo(arg1) }, []) @@ -108,7 +107,7 @@ const Update = () => { ) : updateAvailable ? ( -