diff --git a/components/LinkViews/LinkCard.tsx b/components/LinkViews/LinkCard.tsx
index c60174c..20694b3 100644
--- a/components/LinkViews/LinkCard.tsx
+++ b/components/LinkViews/LinkCard.tsx
@@ -15,7 +15,7 @@ import { previewAvailable } from "@/lib/shared/getArchiveValidity";
import Link from "next/link";
import LinkIcon from "./LinkComponents/LinkIcon";
import useOnScreen from "@/hooks/useOnScreen";
-import { generateHrefBasedOnUserPreference } from "@/lib/client/generateHrefBasedOnUserPreference ";
+import { generateLinkHref } from "@/lib/client/generateLinkHref";
type Props = {
link: LinkIncludingShortenedCollectionAndTags;
@@ -86,7 +86,7 @@ export default function LinkGrid({
className="border border-solid border-neutral-content bg-base-200 shadow-md hover:shadow-none duration-100 rounded-2xl relative"
>
diff --git a/components/LinkViews/LinkList.tsx b/components/LinkViews/LinkList.tsx
index 92115ce..0ab489a 100644
--- a/components/LinkViews/LinkList.tsx
+++ b/components/LinkViews/LinkList.tsx
@@ -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`}
>
diff --git a/lib/client/generateHrefBasedOnUserPreference .ts b/lib/client/generateLinkHref.ts
similarity index 85%
rename from lib/client/generateHrefBasedOnUserPreference .ts
rename to lib/client/generateLinkHref.ts
index 10ef13b..acb89c4 100644
--- a/lib/client/generateHrefBasedOnUserPreference .ts
+++ b/lib/client/generateLinkHref.ts
@@ -2,7 +2,7 @@ import useAccountStore from "@/store/account";
import { ArchivedFormat, LinkIncludingShortenedCollectionAndTags } from "@/types/global";
import { LinksRouteTo } from "@prisma/client";
-export const generateLinkHrefBasedOnUserPreference = (link: LinkIncludingShortenedCollectionAndTags): string => {
+export const generateLinkHref = (link: LinkIncludingShortenedCollectionAndTags): string => {
const { account } = useAccountStore();
switch (account.linksRouteTo) {