1
0
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:
Kevin Serrano 2017-02-09 22:55:14 -08:00
parent 092ec9096b
commit 8b38719a7c
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4

View File

@ -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',