forked from XiaoMo/ChatGPT-Next-Web
fix: show Loading Icon when checking repo update
This commit is contained in:
parent
e773ed2912
commit
96545bd523
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user