mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
Remove styles from svg icon rendering on layers toolbox.
This commit is contained in:
parent
c85a25b75e
commit
ae31dc5aba
1 changed files with 2 additions and 4 deletions
|
@ -131,8 +131,6 @@
|
|||
[{:keys [data id view-box] :as shape}]
|
||||
(let [key (str "icon-svg-" id)
|
||||
view-box (apply str (interpose " " view-box))
|
||||
props {:view-box view-box :id key :key key}
|
||||
attrs (merge props
|
||||
(extract-style-attrs shape))]
|
||||
props {:view-box view-box :id key :key key}]
|
||||
(html
|
||||
[:svg attrs data])))
|
||||
[:svg props data])))
|
||||
|
|
Loading…
Add table
Reference in a new issue