diff --git a/components/LinkList.tsx b/components/LinkList.tsx index 0dd5a0c..ff5e786 100644 --- a/components/LinkList.tsx +++ b/components/LinkList.tsx @@ -28,7 +28,7 @@ export default function ({ const { removeLink } = useLinkStore(); - const shortendURL = new URL(link.url).host.toLowerCase(); + const url = new URL(link.url); const formattedDate = new Date(link.createdAt).toLocaleString("en-US", { year: "numeric", month: "short", @@ -48,7 +48,7 @@ export default function ({ ) : null} {formattedDate}

-

{shortendURL}

+

{url.host}

Edit Link

-

{shortendURL}

-

{link.title}

+

+ {shortendURL} | {link.title} +

Name