hotfix
This commit is contained in:
parent
e791cd441d
commit
65bb962fc0
|
@ -1206,11 +1206,11 @@ export function Settings() {
|
||||||
<input
|
<input
|
||||||
aria-label={Locale.Settings.Access.XAI.Endpoint.Title}
|
aria-label={Locale.Settings.Access.XAI.Endpoint.Title}
|
||||||
type="text"
|
type="text"
|
||||||
value={accessStore.moonshotUrl}
|
value={accessStore.xaiUrl}
|
||||||
placeholder={XAI.ExampleEndpoint}
|
placeholder={XAI.ExampleEndpoint}
|
||||||
onChange={(e) =>
|
onChange={(e) =>
|
||||||
accessStore.update(
|
accessStore.update(
|
||||||
(access) => (access.moonshotUrl = e.currentTarget.value),
|
(access) => (access.xaiUrl = e.currentTarget.value),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
></input>
|
></input>
|
||||||
|
@ -1221,12 +1221,12 @@ export function Settings() {
|
||||||
>
|
>
|
||||||
<PasswordInput
|
<PasswordInput
|
||||||
aria-label={Locale.Settings.Access.XAI.ApiKey.Title}
|
aria-label={Locale.Settings.Access.XAI.ApiKey.Title}
|
||||||
value={accessStore.moonshotApiKey}
|
value={accessStore.xaiApiKey}
|
||||||
type="text"
|
type="text"
|
||||||
placeholder={Locale.Settings.Access.XAI.ApiKey.Placeholder}
|
placeholder={Locale.Settings.Access.XAI.ApiKey.Placeholder}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
accessStore.update(
|
accessStore.update(
|
||||||
(access) => (access.moonshotApiKey = e.currentTarget.value),
|
(access) => (access.xaiApiKey = e.currentTarget.value),
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue