Merge pull request #7288 from penpot/luis-12042-context-menu-variant

🐛 Fix create a variant using the contextual menu
This commit is contained in:
Alejandro Alonso 2025-09-09 16:27:35 +02:00 committed by GitHub
commit 7ac44009d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -568,7 +568,6 @@
[{:keys [shapes]}]
(let [single? (= (count shapes) 1)
objects (deref refs/workspace-page-objects)
shapes (keep (d/getf objects) shapes)
can-make-component (every? true? (map #(ctn/valid-shape-for-component? objects %) shapes))
heads (filter ctk/instance-head? shapes)
components-menu-entries (cmm/generate-components-menu-entries heads)