mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	fix: show Loading Icon when checking repo update
This commit is contained in:
		@@ -7,6 +7,7 @@ import AddIcon from "../icons/add.svg";
 | 
				
			|||||||
import CloseIcon from "../icons/close.svg";
 | 
					import CloseIcon from "../icons/close.svg";
 | 
				
			||||||
import CopyIcon from "../icons/copy.svg";
 | 
					import CopyIcon from "../icons/copy.svg";
 | 
				
			||||||
import ClearIcon from "../icons/clear.svg";
 | 
					import ClearIcon from "../icons/clear.svg";
 | 
				
			||||||
 | 
					import LoadingIcon from "../icons/three-dots.svg";
 | 
				
			||||||
import EditIcon from "../icons/edit.svg";
 | 
					import EditIcon from "../icons/edit.svg";
 | 
				
			||||||
import EyeIcon from "../icons/eye.svg";
 | 
					import EyeIcon from "../icons/eye.svg";
 | 
				
			||||||
import { Input, List, ListItem, Modal, PasswordInput, Popover } from "./ui-lib";
 | 
					import { Input, List, ListItem, Modal, PasswordInput, Popover } from "./ui-lib";
 | 
				
			||||||
@@ -352,7 +353,7 @@ export function Settings() {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
          >
 | 
					          >
 | 
				
			||||||
            {checkingUpdate ? (
 | 
					            {checkingUpdate ? (
 | 
				
			||||||
              <div />
 | 
					              <LoadingIcon />
 | 
				
			||||||
            ) : hasNewVersion ? (
 | 
					            ) : hasNewVersion ? (
 | 
				
			||||||
              <Link href={UPDATE_URL} target="_blank" className="link">
 | 
					              <Link href={UPDATE_URL} target="_blank" className="link">
 | 
				
			||||||
                {Locale.Settings.Update.GoToUpdate}
 | 
					                {Locale.Settings.Update.GoToUpdate}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user