diff --git a/frontend/src/app/main/ui/workspace/tokens/context_menu.cljs b/frontend/src/app/main/ui/workspace/tokens/context_menu.cljs index 60729d406..14e1c1935 100644 --- a/frontend/src/app/main/ui/workspace/tokens/context_menu.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/context_menu.cljs @@ -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}]])]]))