mirror of
https://github.com/penpot/penpot.git
synced 2025-02-01 11:59:17 -05:00
Cleanup
This commit is contained in:
parent
dc14933f3a
commit
c1096e15da
1 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@
|
||||||
all-actions))
|
all-actions))
|
||||||
|
|
||||||
(mf/defc token-pill-context-menu
|
(mf/defc token-pill-context-menu
|
||||||
[{:keys [token-id token-type-props token-type selected-shapes] :as context-data}]
|
[context-data]
|
||||||
(let [menu-entries (generate-menu-entries context-data)]
|
(let [menu-entries (generate-menu-entries context-data)]
|
||||||
(for [[index entry] (d/enumerate menu-entries)]
|
(for [[index entry] (d/enumerate menu-entries)]
|
||||||
[:& menu-entry {:title (:title entry) :on-click (:action entry) :key index}])))
|
[:& menu-entry {:title (:title entry) :on-click (:action entry) :key index}])))
|
||||||
|
@ -142,4 +142,4 @@
|
||||||
[:& token-pill-context-menu {:token-id (:token-id mdata)
|
[:& token-pill-context-menu {:token-id (:token-id mdata)
|
||||||
:token-type-props (:token-type-props mdata)
|
:token-type-props (:token-type-props mdata)
|
||||||
:token-type (:token-type mdata)
|
:token-type (:token-type mdata)
|
||||||
:selected-shapes selected-shapes}]])]]))
|
:selected-shapes selected-shapes}]])]]))
|
||||||
|
|
Loading…
Add table
Reference in a new issue