From 5a4d2907c92b0a5febf8de9f39b128645d49d7bd Mon Sep 17 00:00:00 2001 From: lgou2w Date: Fri, 19 May 2023 19:33:54 +0800 Subject: [PATCH] fix: GachaActionImport.tsx did not exit busy --- src/components/gacha/toolbar/GachaActionImport.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/gacha/toolbar/GachaActionImport.tsx b/src/components/gacha/toolbar/GachaActionImport.tsx index c928660..fc43f53 100644 --- a/src/components/gacha/toolbar/GachaActionImport.tsx +++ b/src/components/gacha/toolbar/GachaActionImport.tsx @@ -40,6 +40,8 @@ export default function GachaActionImport () { setBusy(false) alert(null, `祈愿记录导入成功:${changes}(忽略重复)`) await refetchGachaRecords(selectedAccount.facet, selectedAccount.uid) + } else { + setBusy(false) } } catch (e) { alert(e)