Update auth.tsx

This commit is contained in:
eviswu 2024-11-06 16:13:06 +08:00 committed by GitHub
parent 1d368a0cfa
commit 92366b3aaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -90,19 +90,7 @@ export function AuthPage() {
);
}}
/>
<PasswordInput
style={{ marginTop: "3vh", marginBottom: "3vh" }}
aria={Locale.Settings.ShowPassword}
aria-label={Locale.Settings.Access.Google.ApiKey.Placeholder}
value={accessStore.googleApiKey}
type="text"
placeholder={Locale.Settings.Access.Google.ApiKey.Placeholder}
onChange={(e) => {
accessStore.update(
(access) => (access.googleApiKey = e.currentTarget.value),
);
}}
/>
</>
) : null}