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:
parent
37bef1e2ea
commit
cb942996a9
1 changed files with 4 additions and 3 deletions
|
@ -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}]])]]))
|
||||
|
|
Loading…
Add table
Reference in a new issue