🐛 Fix minor issues on event instumentation module

This commit is contained in:
Andrey Antukh 2022-03-14 13:56:32 +01:00
parent e6d6b60b63
commit 7e8d8eef5a
2 changed files with 86 additions and 70 deletions

View file

@ -53,7 +53,7 @@
ptk/WatchEvent
(watch [_ _ stream]
(rx/merge
(rx/of (ptk/event ::ev/initialize)
(rx/of (ev/initialize)
(du/initialize-profile))
(->> stream
(rx/filter du/profile-fetched?)
@ -79,6 +79,7 @@
[]
(mf/unmount (dom/get-element "app"))
(mf/unmount (dom/get-element "modal"))
(st/emit! (ev/initialize))
(init-ui))
(defn ^:dev/after-load after-load
@ -91,4 +92,3 @@
(fn [_ _ old-value current-value]
(when (not= old-value current-value)
(reinit))))