mirror of
https://github.com/penpot/penpot.git
synced 2026-10-24 06:38:38 -04:00
Fix render-loop after token was deleted
This commit is contained in:
1 parent
37bef1e2ea
commit
cb942996a9
1 file changed
+4
-3
@@ -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