mirror of
https://github.com/penpot/penpot.git
synced 2026-08-05 04:18:41 +00:00
Fix wrong state transformation on icons events.
This commit is contained in:
parent
a8dd40900c
commit
19ebf65c68
@ -89,7 +89,7 @@
|
|||||||
rs/UpdateEvent
|
rs/UpdateEvent
|
||||||
(-apply-update [_ state]
|
(-apply-update [_ state]
|
||||||
(let [{:keys [id] :as item} (assoc item :type :own)]
|
(let [{:keys [id] :as item} (assoc item :type :own)]
|
||||||
(update state :image-colls-by-id assoc id item)))
|
(update state :icon-colls-by-id assoc id item)))
|
||||||
|
|
||||||
rs/WatchEvent
|
rs/WatchEvent
|
||||||
(-apply-watch [_ state stream]
|
(-apply-watch [_ state stream]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user