mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
🐛 Fix routing unresponsivenes in some conditions.
This commit is contained in:
parent
598a235bb8
commit
c97b119998
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue