diff --git a/src/layouts/components/MenuContent.tsx b/src/layouts/components/MenuContent.tsx index e70795f..b856cb0 100644 --- a/src/layouts/components/MenuContent.tsx +++ b/src/layouts/components/MenuContent.tsx @@ -37,6 +37,19 @@ const renderIcon = (item) => { const useRenderNav = (list: Array) => { return list.map((item) => { if (!item.children || !item.children.length || item.meta?.single) { + const href = item.path.match(/(http|https):\/\/([\w.]+\/?)\S*/); + if (href) { + return ( + + {item.title} + + ); + } return (