mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 19:46:37 +08:00
Update settings.tsx
This commit is contained in:
parent
6b1d7827a7
commit
7abefea062
@ -336,7 +336,19 @@ export function Settings() {
|
|||||||
: Locale.Settings.Update.IsLatest
|
: Locale.Settings.Update.IsLatest
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
{checkingUpdate ? (
|
||||||
|
<div />
|
||||||
|
) : hasNewVersion ? (
|
||||||
|
<Link href={null} target="_blank" className="link">
|
||||||
|
{Locale.Settings.Update.GoToUpdate}
|
||||||
|
</Link>
|
||||||
|
) : (
|
||||||
|
<IconButton
|
||||||
|
icon={<ResetIcon></ResetIcon>}
|
||||||
|
text={Locale.Settings.Update.CheckUpdate}
|
||||||
|
onClick={() => checkUpdate(true)}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
</SettingItem>
|
</SettingItem>
|
||||||
|
|
||||||
<SettingItem title={Locale.Settings.SendKey}>
|
<SettingItem title={Locale.Settings.SendKey}>
|
||||||
|
Loading…
Reference in New Issue
Block a user