diff --git a/web/src/components/OAuthLoginModal.tsx b/web/src/components/OAuthLoginModal.tsx index 2d1b07ac029..dd815c2ee07 100644 --- a/web/src/components/OAuthLoginModal.tsx +++ b/web/src/components/OAuthLoginModal.tsx @@ -300,17 +300,14 @@ export function OAuthLoginModal({ provider, onClose, onSuccess }: Props) { ) } - aria-label={t.oauth.copyCode ?? "Copy code"} + aria-label={t.oauth.copyCode} > - {copyStatus === "copied" - ? t.oauth.copied - : (t.oauth.copyCode ?? "Copy code")} + {copyStatus === "copied" ? t.oauth.copied : t.oauth.copyCode} {copyStatus === "failed" && (

- {t.oauth.copyFailed ?? - "Could not copy automatically. Select the code and copy it manually."} + {t.oauth.copyFailed}

)}