diff --git a/site/theme/template/Content/MainContent.jsx b/site/theme/template/Content/MainContent.jsx index 484d1c9ae6..23ed043191 100644 --- a/site/theme/template/Content/MainContent.jsx +++ b/site/theme/template/Content/MainContent.jsx @@ -228,7 +228,7 @@ export default class MainContent extends React.PureComponent { if (!menu) { return null; } - if (menu && menu.type && menu.type.isMenuItem) { + if (menu.type && menu.type.isMenuItem) { return menu; } if (Array.isArray(menu)) {