Browse Source

fix: uploading loading

Dogtiti 1 năm trước cách đây
mục cha
commit
f2d2622172
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/components/artifact.tsx

+ 1 - 0
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) => {