Updated re-natal
This commit is contained in:
parent
14523c6e18
commit
726ea23dd6
|
@ -1,13 +1,12 @@
|
|||
(ns ^:figwheel-no-load env.android.main
|
||||
(:require [reagent.core :as r]
|
||||
[syng-im.android.core :refer [app-root]]
|
||||
[figwheel.client :as figwheel :include-macros true]
|
||||
[syng-im.android.core :as core]))
|
||||
(:require [reagent.core :as r]
|
||||
[syng-im.android.core :as core]
|
||||
[figwheel.client :as figwheel :include-macros true]))
|
||||
|
||||
(enable-console-print!)
|
||||
|
||||
(def cnt (r/atom 0))
|
||||
(defn reloader [] @cnt [app-root])
|
||||
(defn reloader [] @cnt [core/app-root])
|
||||
(def root-el (r/as-element [reloader]))
|
||||
|
||||
(figwheel/watch-and-reload
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
(figwheel/watch-and-reload
|
||||
:websocket-url "ws://localhost:3449/figwheel-ws"
|
||||
:heads-up-display true
|
||||
:heads-up-display false
|
||||
:jsload-callback #(swap! cnt inc))
|
||||
|
||||
(core/init)
|
Loading…
Reference in New Issue