Skip to content

Commit f2d2622

Browse files
committed
fix: uploading loading
1 parent 72d6f97 commit f2d2622

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/components/artifact.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ export function ArtifactShareButton({
126126
bordered
127127
title={Locale.Export.Artifact.Title}
128128
onClick={() => {
129+
if (loading) return;
129130
setLoading(true);
130131
upload(getCode())
131132
.then((res) => {

0 commit comments

Comments
 (0)