0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

Fix render-loop after token was deleted

This commit is contained in:
Florian Schroedl 2024-07-24 16:05:43 +02:00
parent 37bef1e2ea
commit cb942996a9

View file

@ -324,6 +324,7 @@
:ref dropdown-ref
:style {:top top :left left}
:on-context-menu prevent-default}
[:ul {:class (stl/css :context-list)}
[:& menu-tree {:token token
:selected-shapes selected-shapes}]]]]))
(when token
[:ul {:class (stl/css :context-list)}
[:& menu-tree {:token token
:selected-shapes selected-shapes}]])]]))