0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

Fix button being chosen as main button for form submit

This commit is contained in:
Florian Schroedl 2024-08-26 14:17:37 +02:00
parent 7aff690e7b
commit 84b5be5547

View file

@ -51,7 +51,8 @@
(if set? i/document i/group)]
[:div {:class (stl/css :set-name)} name]
[:div {:class (stl/css :delete-set)}
[:button {:on-click #(on-delete-token-set-click id %)}
[:button {:on-click #(on-delete-token-set-click id %)
:type "button"}
i/delete]]
(when set?
[:span {:class (stl/css :action-btn)