From 66f7e48166f6225ba1954171a509143a93ad3c93 Mon Sep 17 00:00:00 2001 From: streakingman Date: Tue, 4 Oct 2022 15:18:36 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=AF=B7=E6=B1=82=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.tsx b/src/main.tsx index d3f35d3..8ca80ad 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -102,8 +102,8 @@ if (!localStorage.getItem(DEFAULT_BGM_STORAGE_KEY)) { } loadTheme(); }) - .catch((e) => { - errorTip(e); + .catch(({ error }) => { + errorTip(error); }); } else { loadTheme();