⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
minor fix
daniel31x137442799836f8
diff --git a/components/LinkViews/LinkCard.tsx b/components/LinkViews/LinkCard.tsxindex d93904a1..8f11cea2 100644--- a/components/LinkViews/LinkCard.tsx+++ b/components/LinkViews/LinkCard.tsx@@ -208,7 +208,7 @@ export default function LinkCard({ link, flipDropdown, editMode }: Props) {</span>)}</p>- {link.tags[0] && (+ {link.tags && link.tags[0] && (<><p className="text-neutral text-lg mt-3 font-semibold">Tags</p>diff --git a/components/ReadableView.tsx b/components/ReadableView.tsxindex 977ca2a0..539ec8e8 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 (- <div className={`flex flex-col max-w-screen-md h-full mx-auto py-5`}>+ <div className={`flex flex-col max-w-screen-md h-full mx-auto p-5`}><divid="link-banner"className="link-banner relative bg-opacity-10 border-neutral-content p-3 border mb-3"@@ -174,7 +174,7 @@ export default function ReadableView({ link }: Props) {/>)}<div className="flex flex-col">- <p className="text-xl">+ <p className="text-xl pr-10">{unescapeString(link?.name || link?.description || link?.url || "")}@@ -212,7 +212,7 @@ export default function ReadableView({ link }: Props) {{link?.collection.name}</p></Link>- {link?.tags.map((e, i) => (+ {link?.tags?.map((e, i) => (<Link key={i} href={`/tags/${e.id}`} className="z-10"><ptitle={e.name}