[FIX #2780] hide re-frame warning when reloading

This commit is contained in:
pablodip 2017-12-21 17:33:51 +07:00 committed by Julien Eluard
parent b0a1aab033
commit 1837623c3a
1 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,11 @@
[reagent.core :as reagent] [reagent.core :as reagent]
[status-im.native-module.core :as status] [status-im.native-module.core :as status]
[taoensso.timbre :as log] [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] (defn init [app-root]
(log/set-level! config/log-level) (log/set-level! config/log-level)