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)))))))