Selaa lähdekoodia

fix: uploading loading

Dogtiti 1 vuosi sitten
vanhempi
commit
f2d2622172
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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) => {