[fix] update yellowbox ignore warning to new react-native api

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
This commit is contained in:
Eric Dvorsak 2018-09-06 12:01:54 +02:00 committed by Dmitry Novotochinov
parent 9ad29bfc56
commit aef1050924
No known key found for this signature in database
GPG Key ID: 43D1DAF5AD39C927
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
cljs.core.specs.alpha))
(when js/goog.DEBUG
(object/set js/console "ignoredYellowBox" #js ["re-frame: overwriting"]))
(.ignoreWarnings (.-YellowBox js-dependencies/react-native) #js ["re-frame: overwriting"]))
(defn init [app-root]
(log/set-level! config/log-level)