rename function

This commit is contained in:
Isaac Wise
2024-02-08 00:44:41 -06:00
parent cc915c8a64
commit 39261de45e
3 changed files with 5 additions and 6 deletions
+2 -3
View File
@@ -1,5 +1,4 @@
import {
ArchivedFormat,
CollectionIncludingMembersAndLinkCount,
LinkIncludingShortenedCollectionAndTags,
} from "@/types/global";
@@ -13,7 +12,7 @@ import LinkCollection from "@/components/LinkViews/LinkComponents/LinkCollection
import LinkIcon from "@/components/LinkViews/LinkComponents/LinkIcon";
import Link from "next/link";
import { isPWA } from "@/lib/client/utils";
import { generateLinkHrefBasedOnUserPreference } from "@/lib/client/generateHrefBasedOnUserPreference ";
import { generateLinkHref } from "@/lib/client/generateLinkHref";
type Props = {
link: LinkIncludingShortenedCollectionAndTags;
@@ -61,7 +60,7 @@ export default function LinkCardCompact({
} duration-200 rounded-lg`}
>
<Link
href={generateLinkHrefBasedOnUserPreference(link)}
href={generateLinkHref(link)}
target="_blank"
className="flex items-start cursor-pointer"
>