mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 07:06:10 +02:00
🐛 Fix problem with hot reload
This commit is contained in:
parent
9fcb4216b6
commit
85ae3ff6f8
2 changed files with 15 additions and 8 deletions
|
@ -28,8 +28,9 @@
|
|||
(findShapes
|
||||
[_]
|
||||
;; Returns a lazy (iterable) of all available shapes
|
||||
(let [page (locate-page $file $id)]
|
||||
(apply array (sequence (map shape/shape-proxy) (keys (:objects page)))))))
|
||||
(when (and (some? $file) (some? $id))
|
||||
(let [page (locate-page $file $id)]
|
||||
(apply array (sequence (map shape/shape-proxy) (keys (:objects page))))))))
|
||||
|
||||
(crc/define-properties!
|
||||
PageProxy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue