mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Added code fence to remove backup notice (#19840)
This commit is contained in:
parent
59980f1b27
commit
5545e5e581
@ -474,7 +474,6 @@ export default class Home extends PureComponent {
|
||||
}
|
||||
/>
|
||||
) : null}
|
||||
|
||||
{removeNftMessage === 'success' ? (
|
||||
<ActionableMessage
|
||||
type="danger"
|
||||
@ -578,22 +577,26 @@ export default class Home extends PureComponent {
|
||||
key="home-web3ShimUsageNotification"
|
||||
/>
|
||||
) : null}
|
||||
{shouldShowSeedPhraseReminder ? (
|
||||
<HomeNotification
|
||||
descriptionText={t('backupApprovalNotice')}
|
||||
acceptText={t('backupNow')}
|
||||
onAccept={() => {
|
||||
const backUpSRPRoute = `${ONBOARDING_SECURE_YOUR_WALLET_ROUTE}/?isFromReminder=true`;
|
||||
if (isPopup) {
|
||||
global.platform.openExtensionInBrowser(backUpSRPRoute);
|
||||
} else {
|
||||
history.push(backUpSRPRoute);
|
||||
}
|
||||
}}
|
||||
infoText={t('backupApprovalInfo')}
|
||||
key="home-backupApprovalNotice"
|
||||
/>
|
||||
) : null}
|
||||
{
|
||||
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-beta,build-flask)
|
||||
shouldShowSeedPhraseReminder ? (
|
||||
<HomeNotification
|
||||
descriptionText={t('backupApprovalNotice')}
|
||||
acceptText={t('backupNow')}
|
||||
onAccept={() => {
|
||||
const backUpSRPRoute = `${ONBOARDING_SECURE_YOUR_WALLET_ROUTE}/?isFromReminder=true`;
|
||||
if (isPopup) {
|
||||
global.platform.openExtensionInBrowser(backUpSRPRoute);
|
||||
} else {
|
||||
history.push(backUpSRPRoute);
|
||||
}
|
||||
}}
|
||||
infoText={t('backupApprovalInfo')}
|
||||
key="home-backupApprovalNotice"
|
||||
/>
|
||||
) : null
|
||||
///: END:ONLY_INCLUDE_IN
|
||||
}
|
||||
{infuraBlocked && this.state.canShowBlockageNotification ? (
|
||||
<HomeNotification
|
||||
descriptionText={t('infuraBlockedNotification', [
|
||||
|
Loading…
Reference in New Issue
Block a user