diff --git a/components/ContextMenu/index.tsx b/components/ContextMenu/index.tsx index a72aa02..1844156 100644 --- a/components/ContextMenu/index.tsx +++ b/components/ContextMenu/index.tsx @@ -62,7 +62,7 @@ export const ContextMenu: FC = ({ ) : ( {children} )} - {options && options.length && ( + {options && !!options.length && ( {options.map(({ key, ...option }) => { if (option.type === "text") {