mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
[FLASK] Align update error state with Figma (#19547)
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
This commit is contained in:
parent
3e1fb2a4be
commit
1a8a263cc1
3
app/_locales/en/messages.json
generated
3
app/_locales/en/messages.json
generated
@ -3370,9 +3370,6 @@
|
||||
"reportLastRunTooltip": {
|
||||
"message": "The date and time of when the last AML/CFT report was run"
|
||||
},
|
||||
"requestFailed": {
|
||||
"message": "Request failed"
|
||||
},
|
||||
"requestFlaggedAsMaliciousFallbackCopyReason": {
|
||||
"message": "The security provider has not shared additional details"
|
||||
},
|
||||
|
@ -127,7 +127,16 @@ export default function SnapUpdate({
|
||||
</Box>
|
||||
)}
|
||||
{hasError && (
|
||||
<InstallError error={requestState.error} title={t('requestFailed')} />
|
||||
<InstallError
|
||||
iconName={IconName.Warning}
|
||||
error={requestState.error}
|
||||
title={t('snapUpdateErrorTitle')}
|
||||
description={t('snapUpdateErrorDescription', [
|
||||
<Text as={ValidTag.Span} key="1" fontWeight={FontWeight.Medium}>
|
||||
{snapName}
|
||||
</Text>,
|
||||
])}
|
||||
/>
|
||||
)}
|
||||
{!hasError && !isLoading && (
|
||||
<>
|
||||
|
Loading…
Reference in New Issue
Block a user