mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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
|
var props = this.props
|
||||||
|
|
||||||
// notices
|
// notices
|
||||||
if (!props.noActiveNotices) {
|
if (!props.noActiveNotices && !METAMASK_DEBUG) {
|
||||||
return h(NoticeScreen, {
|
return h(NoticeScreen, {
|
||||||
notice: props.lastUnreadNotice,
|
notice: props.lastUnreadNotice,
|
||||||
key: 'NoticeScreen',
|
key: 'NoticeScreen',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user