From 84977d7f6da326de25aef60b2c5a7182cd5c1005 Mon Sep 17 00:00:00 2001 From: Yiwei Ho Date: Mon, 9 Sep 2024 00:50:26 +0800 Subject: [PATCH] fix: after the react component fetch fails, it should cancel the loading state --- src/components/copySvg.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/copySvg.svelte b/src/components/copySvg.svelte index 32c8651..f93e34f 100644 --- a/src/components/copySvg.svelte +++ b/src/components/copySvg.svelte @@ -113,6 +113,7 @@ description: `${error ?? ''}`, duration: 5000 }); + isLoading = false; return; }