0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-10 09:08:31 -05:00

🐛 Fix error getting file library

This commit is contained in:
Andrés Moya 2022-02-10 13:17:57 +01:00
parent bea3699451
commit 5a5222a97a

View file

@ -75,7 +75,8 @@
[state]
(let [{:keys [id] :as local} (:workspace-data state)]
(-> (:workspace-libraries state)
(assoc id local))))
(assoc id {:id id
:data local}))))
(defn pretty-file
[file-id state]