mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Fix missing function shorthand
This commit is contained in:
@@ -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]}
|
||||||
|
|||||||
Reference in New Issue
Block a user