Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydzhou committed Oct 23, 2024
1 parent e791cd4 commit 65bb962
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/components/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1206,11 +1206,11 @@ export function Settings() {
<input
aria-label={Locale.Settings.Access.XAI.Endpoint.Title}
type="text"
value={accessStore.moonshotUrl}
value={accessStore.xaiUrl}
placeholder={XAI.ExampleEndpoint}
onChange={(e) =>
accessStore.update(
(access) => (access.moonshotUrl = e.currentTarget.value),
(access) => (access.xaiUrl = e.currentTarget.value),
)
}
></input>
Expand All @@ -1221,12 +1221,12 @@ export function Settings() {
>
<PasswordInput
aria-label={Locale.Settings.Access.XAI.ApiKey.Title}
value={accessStore.moonshotApiKey}
value={accessStore.xaiApiKey}
type="text"
placeholder={Locale.Settings.Access.XAI.ApiKey.Placeholder}
onChange={(e) => {
accessStore.update(
(access) => (access.moonshotApiKey = e.currentTarget.value),
(access) => (access.xaiApiKey = e.currentTarget.value),
);
}}
/>
Expand Down

0 comments on commit 65bb962

Please sign in to comment.