From 1ff6e00398394ee3a93349354720fa5602d5a50e Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Sun, 18 Jan 2026 10:07:11 +0100 Subject: [PATCH] :bug: Fix error message on components doesn't close automatically (#8081) --- CHANGES.md | 2 +- .../app/main/ui/workspace/sidebar/options/menus/component.cljs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index d7ffc8ecac..e8d958e95d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -20,7 +20,7 @@ - Fix prototype connections lost when switching between variants [Taiga #12812](https://tree.taiga.io/project/penpot/issue/12812) - Fix wrong image in the onboarding invitation block [Taiga #13040](https://tree.taiga.io/project/penpot/issue/13040) - Fix wrong register image [Taiga #12955](https://tree.taiga.io/project/penpot/task/12955) - +- Fix error message on components doesn't close automatically [Taiga #12012](https://tree.taiga.io/project/penpot/issue/12012) ## 2.13.0 (Unreleased) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs index a742e95afd..1a6c61425e 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs @@ -507,7 +507,7 @@ mdata {:on-error #(do (reset! key* (uuid/next)) - (st/emit! (ntf/error error-msg)))} + (st/emit! (ntf/warn error-msg)))} params {:shapes shapes :pos pos :val val}] (st/emit! (dwv/variants-switch (with-meta params mdata)))))))