mirror of
https://github.com/p-stream/p-stream.git
synced 2026-01-11 20:10:32 +00:00
ui tweaks
This commit is contained in:
parent
4a8c756eb0
commit
4f86020ca0
2 changed files with 9 additions and 7 deletions
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue