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}
|
) : null}
|
||||||
|
|
||||||
{removeNftMessage === 'success' ? (
|
{removeNftMessage === 'success' ? (
|
||||||
<ActionableMessage
|
<ActionableMessage
|
||||||
type="danger"
|
type="danger"
|
||||||
@ -578,22 +577,26 @@ export default class Home extends PureComponent {
|
|||||||
key="home-web3ShimUsageNotification"
|
key="home-web3ShimUsageNotification"
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
{shouldShowSeedPhraseReminder ? (
|
{
|
||||||
<HomeNotification
|
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-beta,build-flask)
|
||||||
descriptionText={t('backupApprovalNotice')}
|
shouldShowSeedPhraseReminder ? (
|
||||||
acceptText={t('backupNow')}
|
<HomeNotification
|
||||||
onAccept={() => {
|
descriptionText={t('backupApprovalNotice')}
|
||||||
const backUpSRPRoute = `${ONBOARDING_SECURE_YOUR_WALLET_ROUTE}/?isFromReminder=true`;
|
acceptText={t('backupNow')}
|
||||||
if (isPopup) {
|
onAccept={() => {
|
||||||
global.platform.openExtensionInBrowser(backUpSRPRoute);
|
const backUpSRPRoute = `${ONBOARDING_SECURE_YOUR_WALLET_ROUTE}/?isFromReminder=true`;
|
||||||
} else {
|
if (isPopup) {
|
||||||
history.push(backUpSRPRoute);
|
global.platform.openExtensionInBrowser(backUpSRPRoute);
|
||||||
}
|
} else {
|
||||||
}}
|
history.push(backUpSRPRoute);
|
||||||
infoText={t('backupApprovalInfo')}
|
}
|
||||||
key="home-backupApprovalNotice"
|
}}
|
||||||
/>
|
infoText={t('backupApprovalInfo')}
|
||||||
) : null}
|
key="home-backupApprovalNotice"
|
||||||
|
/>
|
||||||
|
) : null
|
||||||
|
///: END:ONLY_INCLUDE_IN
|
||||||
|
}
|
||||||
{infuraBlocked && this.state.canShowBlockageNotification ? (
|
{infuraBlocked && this.state.canShowBlockageNotification ? (
|
||||||
<HomeNotification
|
<HomeNotification
|
||||||
descriptionText={t('infuraBlockedNotification', [
|
descriptionText={t('infuraBlockedNotification', [
|
||||||
|
Loading…
Reference in New Issue
Block a user