0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-05 05:49:07 -05:00

Merge remote-tracking branch 'origin/staging' into develop

This commit is contained in:
Alejandro Alonso 2023-01-23 11:06:05 +01:00
commit 6b25bf6c4f

View file

@ -147,7 +147,7 @@
(defn extract-svg-attrs
[render-id svg-defs svg-attrs]
(if (and (empty? svg-defs) (empty? svg-attrs))
[{} {}]
[#js {} #js {}]
(let [replace-id (fn [id]
(if (contains? svg-defs id)
(str render-id "-" id)