mirror of
https://github.com/penpot/penpot.git
synced 2026-03-12 05:16:23 +00:00
Fix wrong state transformation on icons events.
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
rs/UpdateEvent
|
||||
(-apply-update [_ state]
|
||||
(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
|
||||
(-apply-watch [_ state stream]
|
||||
|
||||
Reference in New Issue
Block a user