From 2f188e7fb40f2d5630716a06263b36bd252c16f5 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Fri, 20 Jan 2023 11:01:22 +0100 Subject: [PATCH] :bug: Fix regression with library svgs --- frontend/src/app/main/ui/shapes/attrs.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/shapes/attrs.cljs b/frontend/src/app/main/ui/shapes/attrs.cljs index 7b9275ba7..acaad65e9 100644 --- a/frontend/src/app/main/ui/shapes/attrs.cljs +++ b/frontend/src/app/main/ui/shapes/attrs.cljs @@ -147,7 +147,7 @@ (defn extract-svg-attrs [render-id svg-defs svg-attrs] (if (and (empty? svg-defs) (empty? svg-attrs)) - [nil nil] + [{} {}] (let [replace-id (fn [id] (if (contains? svg-defs id) (str render-id "-" id)