mirror of
https://github.com/status-im/status-react.git
synced 2025-01-15 13:37:39 +00:00
fix red screen on figwheel reloading when intro screen has been opened
This commit is contained in:
parent
e6ad72039f
commit
bf2e51f856
@ -314,9 +314,10 @@
|
|||||||
|
|
||||||
(defonce rand-label (rand/id))
|
(defonce rand-label (rand/id))
|
||||||
|
|
||||||
|
(defonce main-component (atom nil))
|
||||||
|
|
||||||
(defn main []
|
(defn main []
|
||||||
(let [view-id (re-frame/subscribe [:get :view-id])
|
(let [view-id (re-frame/subscribe [:get :view-id])]
|
||||||
main-component (atom nil)]
|
|
||||||
(reagent/create-class
|
(reagent/create-class
|
||||||
{:component-did-mount
|
{:component-did-mount
|
||||||
(fn []
|
(fn []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user