From f2d2622172fa8b081f5e44f7c3655ffcb4969ed6 Mon Sep 17 00:00:00 2001 From: Dogtiti <499960698@qq.com> Date: Fri, 26 Jul 2024 13:49:15 +0800 Subject: [PATCH] fix: uploading loading --- app/components/artifact.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/components/artifact.tsx b/app/components/artifact.tsx index 2cb44d6cd..295a4230e 100644 --- a/app/components/artifact.tsx +++ b/app/components/artifact.tsx @@ -126,6 +126,7 @@ export function ArtifactShareButton({ bordered title={Locale.Export.Artifact.Title} onClick={() => { + if (loading) return; setLoading(true); upload(getCode()) .then((res) => {