diff --git a/env/dev/env/android/main.cljs b/env/dev/env/android/main.cljs index e9a810c134..861b43b516 100644 --- a/env/dev/env/android/main.cljs +++ b/env/dev/env/android/main.cljs @@ -10,15 +10,11 @@ (def cnt (r/atom 0)) (defn reloader [] @cnt [core/app-root]) (def root-el (r/as-element [reloader])) -(defn callback [] - (swap! cnt inc) - (status-im.native-module.core/init-jail) - (re-frame.core/dispatch [:load-commands!])) (figwheel/watch-and-reload :websocket-url "ws://10.0.3.2:3449/figwheel-ws" :heads-up-display false - :jsload-callback callback) + :jsload-callback #(swap! cnt inc)) (utils.handlers/add-pre-event-callback rr/pre-event-callback)