diff --git a/pages/dashboard.tsx b/pages/dashboard.tsx index f2507f9..4469c5a 100644 --- a/pages/dashboard.tsx +++ b/pages/dashboard.tsx @@ -315,7 +315,7 @@ export default function Dashboard() { style={{ flex: "1 1 auto" }} className="flex flex-col 2xl:flex-row items-start 2xl:gap-2" > - {links[0] ? ( + {links.some((e) => e.pinnedBy && e.pinnedBy[0]) ? (
- {links[0] ? ( + {links.some((e) => e.pinnedBy && e.pinnedBy[0]) ? (
{links.map((e, i) => { return ; })}
) : ( - +
+

+ Pin Your Favorite Links Here! +

+

+ You can Pin your favorite Links by clicking on the three dots on + each Link and clicking{" "} + Pin to Dashboard. +

+
)}