Skip to content

Commit

Permalink
fix: uploading loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Dogtiti committed Jul 26, 2024
1 parent 72d6f97 commit f2d2622
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components/artifact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ export function ArtifactShareButton({
bordered
title={Locale.Export.Artifact.Title}
onClick={() => {
if (loading) return;
setLoading(true);
upload(getCode())
.then((res) => {
Expand Down

0 comments on commit f2d2622

Please sign in to comment.