fix(core): missing i18n and button margin (#11568)

close AF-2486
This commit is contained in:
forehalo
2025-04-09 13:40:01 +00:00
parent 5808b3c8df
commit 4e56a8447b
3 changed files with 19 additions and 14 deletions

View File

@@ -117,19 +117,19 @@ export const VerifyEmailDialog = ({
disabled={true}
value={email}
/>
<Button
variant="primary"
size="extraLarge"
style={{ width: '100%' }}
disabled={hasSentEmail}
loading={loading}
onClick={onSendEmail}
>
{hasSentEmail
? t['com.affine.auth.sent']()
: t['com.affine.auth.send.verify.email.hint']()}
</Button>
</AuthContent>
<Button
variant="primary"
size="extraLarge"
style={{ width: '100%' }}
disabled={hasSentEmail}
loading={loading}
onClick={onSendEmail}
>
{hasSentEmail
? t['com.affine.auth.sent']()
: t['com.affine.auth.send.verify.email.hint']()}
</Button>
</Modal>
);
};