diff --git a/templates/boxMenuItem.jsx b/templates/boxMenuItem.jsx index eb05bf3..1af381c 100644 --- a/templates/boxMenuItem.jsx +++ b/templates/boxMenuItem.jsx @@ -106,8 +106,14 @@ export default function BoxMenuItem (props) { aria-label={ariaLabel} aria-disabled={_isLocked ? true : null} role="link" - dangerouslySetInnerHTML={{ __html: compile(linkText) }} - /> + > + {linkText && + + } +