From 1837623c3a97135d3fbb47be1161b0302979c62d Mon Sep 17 00:00:00 2001 From: pablodip Date: Thu, 21 Dec 2017 17:33:51 +0700 Subject: [PATCH] [FIX #2780] hide re-frame warning when reloading --- src/status_im/core.cljs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/status_im/core.cljs b/src/status_im/core.cljs index 651c1034fd..cbbfd437a7 100644 --- a/src/status_im/core.cljs +++ b/src/status_im/core.cljs @@ -5,7 +5,11 @@ [reagent.core :as reagent] [status-im.native-module.core :as status] [taoensso.timbre :as log] - [status-im.utils.config :as config])) + [status-im.utils.config :as config] + [goog.object :as object])) + +(when js/goog.DEBUG + (object/set js/console "ignoredYellowBox" #js ["re-frame: overwriting"])) (defn init [app-root] (log/set-level! config/log-level)