1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

EIP-1559 - Fix education links (#11650)

This commit is contained in:
David Walsh 2021-07-29 09:18:13 -05:00 committed by GitHub
parent aaa15cbe03
commit 6d1fb911dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 14 deletions

View File

@ -635,9 +635,6 @@
"editGasEducationHighExplanation": { "editGasEducationHighExplanation": {
"message": "This is best for swaps or other time sensitive transactions. If a swap takes too long to process it will often fail and you may lose funds." "message": "This is best for swaps or other time sensitive transactions. If a swap takes too long to process it will often fail and you may lose funds."
}, },
"editGasEducationLearnMoreLinkText": {
"message": "Learn more about customizing gas."
},
"editGasEducationLowExplanation": { "editGasEducationLowExplanation": {
"message": "Low A lower gas fee should only be selected for transactions where processing time is less important. With a lower fee, it can be be hard to predict when (or if) your transaction with be successful." "message": "Low A lower gas fee should only be selected for transactions where processing time is less important. With a lower fee, it can be be hard to predict when (or if) your transaction with be successful."
}, },

View File

@ -47,16 +47,6 @@ export default function EditGasDisplayEducation() {
<Typography tag="p" color={COLORS.UI4} variant={TYPOGRAPHY.H6}> <Typography tag="p" color={COLORS.UI4} variant={TYPOGRAPHY.H6}>
{t('editGasEducationLowExplanation')} {t('editGasEducationLowExplanation')}
</Typography> </Typography>
<Typography tag="p" variant={TYPOGRAPHY.H6}>
<a
style={{ color: COLORS.PRIMARY1 }}
href=""
target="_blank"
rel="noopener noreferrer"
>
{t('editGasEducationLearnMoreLinkText')}
</a>
</Typography>
</div> </div>
); );
} }

View File

@ -399,7 +399,11 @@ export default class ConfirmTransactionBase extends Component {
<p>{t('transactionDetailGasTooltipIntro')}</p> <p>{t('transactionDetailGasTooltipIntro')}</p>
<p>{t('transactionDetailGasTooltipExplanation')}</p> <p>{t('transactionDetailGasTooltipExplanation')}</p>
<p> <p>
<a href="https://community.metamask.io/t/what-is-gas-why-do-transactions-take-so-long/3172"> <a
href="https://community.metamask.io/t/what-is-gas-why-do-transactions-take-so-long/3172"
target="_blank"
rel="noopener noreferrer"
>
{t('transactionDetailGasTooltipConversion')} {t('transactionDetailGasTooltipConversion')}
</a> </a>
</p> </p>