mirror of
https://github.com/penpot/penpot.git
synced 2025-07-25 04:08:15 +02:00
💄 Change stoper to stopper
This commit is contained in:
parent
c123cf6e98
commit
f5dd199bc6
17 changed files with 75 additions and 77 deletions
|
@ -149,7 +149,7 @@
|
|||
|
||||
ptk/EffectEvent
|
||||
(effect [_ state stream]
|
||||
(let [stoper (rx/filter (ptk/type? ::initialize-history) stream)
|
||||
(let [stopper (rx/filter (ptk/type? ::initialize-history) stream)
|
||||
history (:history state)
|
||||
router (:router state)]
|
||||
(ts/schedule #(on-change router (.getToken ^js history)))
|
||||
|
@ -158,5 +158,5 @@
|
|||
(fn []
|
||||
(bhistory/disable! history)
|
||||
(e/unlistenByKey key)))))
|
||||
(rx/take-until stoper)
|
||||
(rx/take-until stopper)
|
||||
(rx/subs! #(on-change router %)))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue