diff --git a/src/app/page.tsx b/src/app/page.tsx index af375ef..c58376d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -91,23 +91,24 @@ export default function Home() { {/* Links (Buttons) */}
- {links.map((link, index) => { - const icons: any = link.icon?.split(" ") ?? []; + {links && + links.map((link, index) => { + const icons: any = link.icon?.split(" ") ?? []; - return ( - - {link.icon && } -

{link.title}

-
- ); - })} + > + {link.icon && } +

{link.title}

+ + ); + })}
{/* Social Links */}