0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-03 21:09:00 -05:00

🐛 Fix unexpected exception on viewer when page has no frame

This commit is contained in:
Andrey Antukh 2023-07-28 11:55:42 +02:00
parent f76f4615cf
commit 51d0851846

View file

@ -295,7 +295,8 @@
size
(mf/with-memo [frame zoom]
(calculate-size (:objects page) frame zoom))
(when frame
(calculate-size (:objects page) frame zoom)))
orig-size
(mf/with-memo [orig-frame zoom]