소스 검색

fix: uploading loading

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) => {