diff --git a/src/app/page.tsx b/src/app/page.tsx index 2099e12..504478c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -44,9 +44,9 @@ export default function Home() { className={`flex flex-col items-center justify-center w-screen h-screen bg-neutral-900 ${selectedTheme.textColor}`} >
{links.map((link, index) => { - const icons: any = link.icon?.split(" "); + const icons: any = link.icon?.split(" ") ?? []; return ( -
- {link.icon && ( - <> - -
- - )} -

{link.title}

-
+ {link.icon && ( + <> + +
+ + )} +

{link.title}

); })}