mirror of
https://github.com/penpot/penpot.git
synced 2026-05-12 19:43:48 +00:00
🐛 Fix routing unresponsivenes in some conditions.
This commit is contained in:
parent
598a235bb8
commit
c97b119998
@ -126,7 +126,8 @@
|
||||
history (:history state)
|
||||
router (:router state)]
|
||||
(rx/merge
|
||||
(rx/of (on-change router (.getToken history)))
|
||||
(->> (rx/of (on-change router (.getToken history)))
|
||||
(rx/observe-on :asap))
|
||||
(->> (rx/create (fn [sink]
|
||||
(let [key (e/listen history "navigate" #(sink (.-token %)))]
|
||||
(fn []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user