minor fix

This commit is contained in:
daniel31x13
2023-12-17 00:11:15 -05:00
parent f5e7e373a8
commit 4d691e0cce
4 changed files with 8 additions and 4 deletions
@@ -6,14 +6,18 @@ import isValidUrl from "@/lib/shared/isValidUrl";
export default function LinkIcon({
link,
className,
}: {
link: LinkIncludingShortenedCollectionAndTags;
className?: string;
}) {
const url =
isValidUrl(link.url || "") && link.url ? new URL(link.url) : undefined;
const iconClasses: string =
"w-12 bg-white text-primary shadow rounded-md p-1 select-none z-10";
"bg-white text-primary shadow rounded-md border-[2px] border-white select-none z-10" +
" " +
className || "";
return (
<div>