Update settings.tsx
This commit is contained in:
parent
a0d6688ab0
commit
1ca01334b3
|
@ -634,19 +634,6 @@ export function Settings() {
|
|||
|
||||
{!accessStore.hideUserApiKey ? (
|
||||
<>
|
||||
<ListItem
|
||||
title={Locale.Settings.Endpoint.Title}
|
||||
subTitle={Locale.Settings.Endpoint.SubTitle}
|
||||
>
|
||||
<input
|
||||
type="text"
|
||||
value={accessStore.openaiUrl}
|
||||
placeholder="https://api.openai.com/"
|
||||
onChange={(e) =>
|
||||
accessStore.updateOpenAiUrl(e.currentTarget.value)
|
||||
}
|
||||
></input>
|
||||
</ListItem>
|
||||
<ListItem
|
||||
title={Locale.Settings.Token.Title}
|
||||
subTitle={Locale.Settings.Token.SubTitle}
|
||||
|
@ -661,7 +648,8 @@ export function Settings() {
|
|||
/>
|
||||
</ListItem>
|
||||
</>
|
||||
) : null}
|
||||
) : null}
|
||||
|
||||
|
||||
{!accessStore.hideBalanceQuery ? (
|
||||
<ListItem
|
||||
|
|
Loading…
Reference in New Issue