ui tweaks

This commit is contained in:
Pas 2025-12-29 16:40:17 -07:00
parent 4a8c756eb0
commit 4f86020ca0
2 changed files with 9 additions and 7 deletions

View file

@ -70,6 +70,12 @@ export function PassphraseGeneratePart(props: PassphraseGeneratePartProps) {
onCustomPassphrase={handleCustomPassphrase}
/>
<LargeCardButtons>
<Button theme="purple" onClick={() => props.onNext?.(mnemonic)}>
{t("auth.generate.next")}
</Button>
</LargeCardButtons>
{isPasskeySupported() && (
<div className="mt-4">
<Button
@ -89,12 +95,6 @@ export function PassphraseGeneratePart(props: PassphraseGeneratePartProps) {
)}
</div>
)}
<LargeCardButtons>
<Button theme="purple" onClick={() => props.onNext?.(mnemonic)}>
{t("auth.generate.next")}
</Button>
</LargeCardButtons>
</LargeCard>
);
}

View file

@ -201,7 +201,9 @@ export function VerifyPassphrase(props: VerifyPassphraseProps) {
loading={passkeyResult.loading}
onClick={() => authenticatePasskeyFn()}
>
<Icon icon={Icons.LOCK} className="mr-2" />
{passkeyResult.loading ? (
<Icon icon={Icons.LOCK} className="mr-2" />
) : null}
{t("auth.verify.authenticatePasskey")}
</Button>
</LargeCardButtons>