mirror of
https://github.com/penpot/penpot.git
synced 2025-12-23 22:48:40 -05:00
Fix render-loop after token was deleted
This commit is contained in:
@@ -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}]])]]))
|
||||
|
||||
Reference in New Issue
Block a user