From 895889d27a2a917f1cee16b75b991c0403410014 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Thu, 8 Jul 2021 16:02:21 +0200 Subject: [PATCH] :bug: Fix local assert when deleting text --- frontend/src/app/main/data/workspace/texts.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/data/workspace/texts.cljs b/frontend/src/app/main/data/workspace/texts.cljs index d76abc46b..f928c01ce 100644 --- a/frontend/src/app/main/data/workspace/texts.cljs +++ b/frontend/src/app/main/data/workspace/texts.cljs @@ -68,7 +68,7 @@ (dch/update-shapes [id] #(assoc % :content content)) (dwu/commit-undo-transaction))))) (rx/of (dws/deselect-shape id) - (dwc/delete-shapes [id]))))))) + (dwc/delete-shapes #{id}))))))) (defn initialize-editor-state [{:keys [id content] :as shape} decorator]