mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-19 20:20:16 +09:00
fix: uploading loading
This commit is contained in:
parent
72d6f97024
commit
f2d2622172
@ -126,6 +126,7 @@ export function ArtifactShareButton({
|
||||
bordered
|
||||
title={Locale.Export.Artifact.Title}
|
||||
onClick={() => {
|
||||
if (loading) return;
|
||||
setLoading(true);
|
||||
upload(getCode())
|
||||
.then((res) => {
|
||||
|
Loading…
Reference in New Issue
Block a user