0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

add dom/stop-propagation

This commit is contained in:
Akshay Gupta 2024-08-14 17:15:30 +05:30
parent 71439637aa
commit 74c6228c25
No known key found for this signature in database

View file

@ -63,7 +63,9 @@
on-click
(mf/use-fn
(mf/deps type set-id)
#(st/emit! (set-current-set set-id)))]
(fn [event]
(dom/stop-propagation event)
(st/emit! (set-current-set set-id))))]
[:div {:class (stl/css :set-item-container)
:on-click on-click}
[:div {:class (stl/css-case :set-item-group (= type :group)