generated from Fascinated/nextjs-13-template-with-tailwindcss
add check if links exists
Some checks failed
Publish Docker Image / docker (push) Has been cancelled
Some checks failed
Publish Docker Image / docker (push) Has been cancelled
This commit is contained in:
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 (
|
||||||
|
Loading…
Reference in New Issue
Block a user