[FIX #2780] hide re-frame warning when reloading
This commit is contained in:
parent
b0a1aab033
commit
1837623c3a
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue