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

🐛 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

@ -25,6 +25,7 @@
- Fix repeated fetch on file selection [Taiga #1933](https://tree.taiga.io/project/penpot/issue/1933)
- Fix rename typography on text options [Taiga #1963](https://tree.taiga.io/project/penpot/issue/1963)
- Fix problems with order in groups [Taiga #1960](https://tree.taiga.io/project/penpot/issue/1960)
- Fix SVG components preview [#1134](https://github.com/penpot/penpot/issues/1134)
### :arrow_up: Deps updates
### :boom: Breaking changes

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}]