From aef105092472668280299e8c0c8d721f17c1770b Mon Sep 17 00:00:00 2001 From: Eric Dvorsak Date: Thu, 6 Sep 2018 12:01:54 +0200 Subject: [PATCH] [fix] update yellowbox ignore warning to new react-native api Signed-off-by: Dmitry Novotochinov --- src/status_im/core.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/core.cljs b/src/status_im/core.cljs index 659d317521..a2ddd4365f 100644 --- a/src/status_im/core.cljs +++ b/src/status_im/core.cljs @@ -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)