mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-20 14:32:42 +08:00
fix: uploading loading
This commit is contained in:
@@ -126,6 +126,7 @@ export function ArtifactShareButton({
|
|||||||
bordered
|
bordered
|
||||||
title={Locale.Export.Artifact.Title}
|
title={Locale.Export.Artifact.Title}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
if (loading) return;
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
upload(getCode())
|
upload(getCode())
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
Reference in New Issue
Block a user