mirror of
https://github.com/penpot/penpot.git
synced 2026-03-11 12:56:14 +00:00
Only render shape if it is not nil.
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
(mx/defc shape-component
|
||||
[sid]
|
||||
(let [shape (get-in @*state* [:shapes sid])]
|
||||
(when-let [shape (get-in @*state* [:shapes sid])]
|
||||
(shape-wrapper shape)))
|
||||
|
||||
(mx/defc page-svg
|
||||
|
||||
Reference in New Issue
Block a user