Dogtiti 1 рік тому
батько
коміт
f2d2622172
1 змінених файлів з 1 додано та 0 видалено
  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) => {