diff --git a/packages/client/src/components/gallery/DescItem.tsx b/packages/client/src/components/gallery/DescItem.tsx index b6d12f5..f9d72c3 100644 --- a/packages/client/src/components/gallery/DescItem.tsx +++ b/packages/client/src/components/gallery/DescItem.tsx @@ -1,5 +1,6 @@ import StyledLink from "@/components/gallery/StyledLink"; import { cn } from "@/lib/utils"; +import { Fragment } from "react/jsx-runtime"; export function DescItem({ name, children, className }: { name: string; @@ -21,10 +22,10 @@ export function DescTagItem({ return {items.length === 0 ? "N/A" : items.map( (x, i) => - <> - {x} + + {x} {i + 1 < items.length && , } - + )} ; } diff --git a/packages/client/src/page/galleryPage.tsx b/packages/client/src/page/galleryPage.tsx index 8dc7b10..ceb52d2 100644 --- a/packages/client/src/page/galleryPage.tsx +++ b/packages/client/src/page/galleryPage.tsx @@ -65,7 +65,7 @@ export default function Gallery() { const isLoadingMore = data && size > 0 && (data[size - 1] === undefined); - return (
+ return (
{(word || tags) &&