1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

Add dismiss button to privacy mode notification

This commit is contained in:
Mark Stacey 2019-09-01 20:03:09 -03:00
parent bbbf68c8df
commit 3a4b3f5510

View File

@ -102,6 +102,10 @@ export default class Home extends PureComponent {
unsetMigratedPrivacyMode() unsetMigratedPrivacyMode()
window.open('https://medium.com/metamask/42549d4870fa', '_blank', 'noopener') window.open('https://medium.com/metamask/42549d4870fa', '_blank', 'noopener')
}} }}
ignoreText={t('dismiss')}
onIgnore={() => {
unsetMigratedPrivacyMode()
}}
key="home-privacyModeDefault" key="home-privacyModeDefault"
/>, />,
}, },