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