mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 10:30:04 +01:00
Prevent notices from opening in test and debug mode.
This commit is contained in:
parent
092ec9096b
commit
8b38719a7c
@ -350,7 +350,7 @@ App.prototype.renderPrimary = function () {
|
||||
var props = this.props
|
||||
|
||||
// notices
|
||||
if (!props.noActiveNotices) {
|
||||
if (!props.noActiveNotices && !METAMASK_DEBUG) {
|
||||
return h(NoticeScreen, {
|
||||
notice: props.lastUnreadNotice,
|
||||
key: 'NoticeScreen',
|
||||
|
Loading…
Reference in New Issue
Block a user