diff --git a/packages/client/src/components/gallery/GalleryCard.tsx b/packages/client/src/components/gallery/GalleryCard.tsx index ed8b61d..72119bf 100644 --- a/packages/client/src/components/gallery/GalleryCard.tsx +++ b/packages/client/src/components/gallery/GalleryCard.tsx @@ -1,6 +1,6 @@ import type { Document } from "dbtype"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card.tsx"; -import TagBadge, { toPrettyTagname } from "@/components/gallery/TagBadge.tsx"; +import TagBadge from "@/components/gallery/TagBadge.tsx"; import { Fragment, useLayoutEffect, useRef, useState } from "react"; import { LazyImage } from "./LazyImage.tsx"; import StyledLink from "./StyledLink.tsx"; @@ -8,6 +8,7 @@ import React from "react"; import { Skeleton } from "../ui/skeleton.tsx"; import { Palette, Users, Trash2, Clock, LayersIcon } from "lucide-react"; import { cn } from "@/lib/utils.ts"; +import { toPrettyTagname } from "@/lib/tags.ts"; function clipTagsWhenOverflow(tags: string[], limit: number) { let l = 0; @@ -166,11 +167,13 @@ function GalleryCardImpl({