mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 11:36:38 +08:00
Update settings.tsx
This commit is contained in:
parent
1747b5b273
commit
6b1d7827a7
@ -336,19 +336,7 @@ export function Settings() {
|
|||||||
: Locale.Settings.Update.IsLatest
|
: Locale.Settings.Update.IsLatest
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{checkingUpdate ? (
|
|
||||||
<div />
|
|
||||||
) : hasNewVersion ? (
|
|
||||||
<Link href={UPDATE_URL} 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