mirror of
https://github.com/penpot/penpot.git
synced 2025-02-23 07:16:07 -05:00
Only render shape if it is not nil.
This commit is contained in:
parent
16a322211e
commit
49b783273e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue