Skip to content

Commit 65bb962

Browse files
committed
hotfix
1 parent e791cd4 commit 65bb962

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/components/settings.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,11 +1206,11 @@ export function Settings() {
12061206
<input
12071207
aria-label={Locale.Settings.Access.XAI.Endpoint.Title}
12081208
type="text"
1209-
value={accessStore.moonshotUrl}
1209+
value={accessStore.xaiUrl}
12101210
placeholder={XAI.ExampleEndpoint}
12111211
onChange={(e) =>
12121212
accessStore.update(
1213-
(access) => (access.moonshotUrl = e.currentTarget.value),
1213+
(access) => (access.xaiUrl = e.currentTarget.value),
12141214
)
12151215
}
12161216
></input>
@@ -1221,12 +1221,12 @@ export function Settings() {
12211221
>
12221222
<PasswordInput
12231223
aria-label={Locale.Settings.Access.XAI.ApiKey.Title}
1224-
value={accessStore.moonshotApiKey}
1224+
value={accessStore.xaiApiKey}
12251225
type="text"
12261226
placeholder={Locale.Settings.Access.XAI.ApiKey.Placeholder}
12271227
onChange={(e) => {
12281228
accessStore.update(
1229-
(access) => (access.moonshotApiKey = e.currentTarget.value),
1229+
(access) => (access.xaiApiKey = e.currentTarget.value),
12301230
);
12311231
}}
12321232
/>

0 commit comments

Comments
 (0)