0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-25 08:16:49 -05:00

🐛 Fix react warning for missing key on context-menu-a11y component

This commit is contained in:
Andrey Antukh 2023-05-09 13:08:35 +02:00
parent cf03cb4ca4
commit 9cb5df31d1

View file

@ -255,6 +255,7 @@
(dom/classnames :separator true))}]
[:& context-menu-a11y-item
{:id id
:key id
:class (if (and new-css-system workspace?)
(dom/classnames (css :is-selected) (and selected (= option-name selected))
(css :context-menu-item) true)