mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
🐛 Fix minor issues on event instumentation module
This commit is contained in:
parent
e6d6b60b63
commit
7e8d8eef5a
2 changed files with 86 additions and 70 deletions
|
@ -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))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue