0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-27 01:06:30 -05:00

Review fixes

This commit is contained in:
alonso.torres 2020-04-29 11:38:42 +02:00
parent fc1e28a3d8
commit 6f7f7c4032

View file

@ -62,7 +62,7 @@
(letfn [(selector [state]
(let [page-id (get-in state [:workspace-page :id])
objects (get-in state [:workspace-data page-id :objects])]
(->> (get objects id))))]
(get objects id)))]
(l/derived selector st/state =)))
(defn objects-by-id