0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 22:22:43 -05:00

Fix missing function shorthand

This commit is contained in:
Florian Schroedl 2024-07-30 06:57:21 +02:00
parent f69db7ce9e
commit 1d4b417501

View file

@ -45,9 +45,10 @@
{:title title {:title title
:selected? selected? :selected? selected?
:action (if selected? :action (fn []
(st/emit! (wtch/unapply-token props)) (if selected?
(st/emit! (wtch/apply-token (assoc props :on-update-shape on-update-shape-fn))))})) (st/emit! (wtch/unapply-token props))
(st/emit! (wtch/apply-token (assoc props :on-update-shape on-update-shape-fn)))))}))
attributes))) attributes)))
(defn all-or-sepearate-actions [{:keys [attribute-labels on-update-shape-all on-update-shape]} (defn all-or-sepearate-actions [{:keys [attribute-labels on-update-shape-all on-update-shape]}