🐛 Fix SVG components preview

This commit is contained in:
alonso.torres 2021-08-31 15:22:38 +02:00
parent 7a523a9d89
commit bb49071088
2 changed files with 3 additions and 1 deletions

View file

@ -256,7 +256,8 @@
:xmlns "http://www.w3.org/2000/svg"
:xmlnsXlink "http://www.w3.org/1999/xlink"
:xmlns:penpot (when include-metadata? "https://penpot.app/xmlns")}
[:& wrapper {:shape group :view-box vbox}]]))
[:> shape-container {:shape group}
[:& wrapper {:shape group :view-box vbox}]]]))
(mf/defc component-symbol
[{:keys [id data] :as props}]