add check if links exists
Some checks failed
Publish Docker Image / docker (push) Has been cancelled

This commit is contained in:
Lee 2023-07-12 09:41:04 +01:00
parent 9004e01a98
commit 1a0e99a758

@ -91,7 +91,8 @@ export default function Home() {
{/* Links (Buttons) */} {/* Links (Buttons) */}
<div className="flex flex-col items-center"> <div className="flex flex-col items-center">
{links.map((link, index) => { {links &&
links.map((link, index) => {
const icons: any = link.icon?.split(" ") ?? []; const icons: any = link.icon?.split(" ") ?? [];
return ( return (