From 8b38719a7cff0c25820f9c4791dc76803ea477b3 Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Thu, 9 Feb 2017 22:55:14 -0800 Subject: Prevent notices from opening in test and debug mode. --- ui/app/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/app.js b/ui/app/app.js index e75a4e72f..3b9e15252 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -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', -- cgit v1.2.3