diff --git a/components/common/SiteFooter.tsx b/components/common/SiteFooter.tsx index 291a52ec..5c1ff35a 100644 --- a/components/common/SiteFooter.tsx +++ b/components/common/SiteFooter.tsx @@ -521,7 +521,21 @@ function SiteFooter(props: SiteFooterProps) { {navItems && navItems.map((page) => ( - {page.children && page.children.length > 0 ? ( + {!page.children?.length && page.slug && ( + + <> + {theme?.navLinkIcons && ( + + )} + {page.children?.length > 0 && ( <> {page.name} @@ -543,10 +557,6 @@ function SiteFooter(props: SiteFooterProps) { ))} - ) : ( - - {page.name} - )} ))}