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

🐛 Fix error when getting file from libs

This commit is contained in:
Marina López 2025-02-21 10:49:56 +01:00
parent 9896275fa8
commit 702bd41047

View file

@ -92,7 +92,7 @@
reverse-sort? (= :desc ordering)
libs (mf/deref refs/libraries)
num-libs (count libs)
file (get libs (:id file-id))
file (get libs file-id)
components (mf/with-memo [file] (ctkl/components (:data file)))
toggle-ordering