1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

UX: Make 'Done' button a block in Account Details (#20059)

This commit is contained in:
David Walsh 2023-07-17 21:37:29 -05:00 committed by GitHub
parent 5d17f86e02
commit 3f3ee63b17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ export const AccountDetailsKey = ({ accountName, onClose, privateKey }) => {
<BannerAlert severity={Severity.Danger} marginTop={4}> <BannerAlert severity={Severity.Danger} marginTop={4}>
<Text variant={TextVariant.bodySm}>{t('privateKeyWarning')}</Text> <Text variant={TextVariant.bodySm}>{t('privateKeyWarning')}</Text>
</BannerAlert> </BannerAlert>
<ButtonPrimary marginTop={6} onClick={onClose}> <ButtonPrimary marginTop={6} onClick={onClose} block>
{t('done')} {t('done')}
</ButtonPrimary> </ButtonPrimary>
</> </>