From c1096e15da28332c0c9d694ec4afdd32d0a93d8e Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Mon, 3 Jun 2024 13:39:16 +0200 Subject: [PATCH] Cleanup --- frontend/src/app/main/ui/workspace/tokens/context_menu.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/context_menu.cljs b/frontend/src/app/main/ui/workspace/tokens/context_menu.cljs index 034bf5eda..389a93dcd 100644 --- a/frontend/src/app/main/ui/workspace/tokens/context_menu.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/context_menu.cljs @@ -103,7 +103,7 @@ all-actions)) (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)] (for [[index entry] (d/enumerate menu-entries)] [:& 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-type-props (:token-type-props mdata) :token-type (:token-type mdata) - :selected-shapes selected-shapes}]])]])) \ No newline at end of file + :selected-shapes selected-shapes}]])]]))