mirror of
https://github.com/penpot/penpot.git
synced 2025-01-06 14:50:20 -05:00
Fix missing function shorthand
This commit is contained in:
parent
f69db7ce9e
commit
1d4b417501
1 changed files with 4 additions and 3 deletions
|
@ -45,9 +45,10 @@
|
|||
|
||||
{:title title
|
||||
:selected? selected?
|
||||
:action (if selected?
|
||||
(st/emit! (wtch/unapply-token props))
|
||||
(st/emit! (wtch/apply-token (assoc props :on-update-shape on-update-shape-fn))))}))
|
||||
:action (fn []
|
||||
(if selected?
|
||||
(st/emit! (wtch/unapply-token props))
|
||||
(st/emit! (wtch/apply-token (assoc props :on-update-shape on-update-shape-fn)))))}))
|
||||
attributes)))
|
||||
|
||||
(defn all-or-sepearate-actions [{:keys [attribute-labels on-update-shape-all on-update-shape]}
|
||||
|
|
Loading…
Reference in a new issue