From 7442799836f89233c82364b8b7dfe9a7c9401f14 Mon Sep 17 00:00:00 2001
From: daniel31x13
Tags
diff --git a/components/ReadableView.tsx b/components/ReadableView.tsx index 977ca2a..539ec8e 100644 --- a/components/ReadableView.tsx +++ b/components/ReadableView.tsx @@ -43,7 +43,7 @@ export default function ReadableView({ link }: Props) { const router = useRouter(); - const { links, getLink } = useLinkStore(); + const { getLink } = useLinkStore(); const { collections } = useCollectionStore(); const collection = useMemo(() => { @@ -138,7 +138,7 @@ export default function ReadableView({ link }: Props) { }, [colorPalette]); return ( -+
{unescapeString( link?.name || link?.description || link?.url || "" )} @@ -212,7 +212,7 @@ export default function ReadableView({ link }: Props) { {link?.collection.name}
- {link?.tags.map((e, i) => ( + {link?.tags?.map((e, i) => (