diff --git a/src/Fetch.tsx b/src/Fetch.tsx index 38e68f7..fc25db9 100644 --- a/src/Fetch.tsx +++ b/src/Fetch.tsx @@ -7,8 +7,8 @@ import { useInfiniteQuery } from "@tanstack/react-query" const Single = ({ post }: { post: z.infer }) => { return ( -
-

{post.content}

+
+

{post.content}

{post.enclosure.length > 0 && post.enclosure[0] != null &&
{post.enclosure.map((enc, index) => { if (enc) { @@ -16,6 +16,7 @@ const Single = ({ post }: { post: z.infer }) => { key={index} src={MediaPathTrc(enc)} alt={`Post media ${post.id}-${index}`} + loading="lazy" className="rounded-md h-32 object-cover aspect-video flex-shrink-0" /> } else {