mirror of
https://github.com/penpot/penpot.git
synced 2026-04-30 05:38:42 +00:00
Only render shape if it is not nil.
This commit is contained in:
parent
16a322211e
commit
49b783273e
@ -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…
x
Reference in New Issue
Block a user