mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
EIP-1559 - Don't show submit button when in education mode, don't duplicate title (#11541)
This commit is contained in:
parent
dc25a24de3
commit
493448c96e
@ -14,13 +14,6 @@ export default function EditGasDisplayEducation() {
|
||||
|
||||
return (
|
||||
<div className="edit-gas-display-education">
|
||||
<Typography
|
||||
color={COLORS.BLACK}
|
||||
variant={TYPOGRAPHY.H4}
|
||||
fontWeight={FONT_WEIGHT.BOLD}
|
||||
>
|
||||
{t('editGasEducationModalTitle')}
|
||||
</Typography>
|
||||
<Typography tag="p" color={COLORS.UI4} variant={TYPOGRAPHY.H6}>
|
||||
{t('editGasEducationModalIntro')}
|
||||
</Typography>
|
||||
|
@ -168,6 +168,7 @@ export default function EditGasPopover({
|
||||
showEducationContent ? () => setShowEducationContent(false) : undefined
|
||||
}
|
||||
footer={
|
||||
showEducationContent ? null : (
|
||||
<>
|
||||
<Button
|
||||
type="primary"
|
||||
@ -182,6 +183,7 @@ export default function EditGasPopover({
|
||||
{footerButtonText}
|
||||
</Button>
|
||||
</>
|
||||
)
|
||||
}
|
||||
>
|
||||
<div style={{ padding: '0 20px 20px 20px' }}>
|
||||
|
Loading…
Reference in New Issue
Block a user