diff --git a/src/renderer/src/modules/entry-column/social-media-item.tsx b/src/renderer/src/modules/entry-column/social-media-item.tsx index 2e60f4772..46532c72c 100644 --- a/src/renderer/src/modules/entry-column/social-media-item.tsx +++ b/src/renderer/src/modules/entry-column/social-media-item.tsx @@ -1,5 +1,6 @@ import { FeedIcon } from "@renderer/components/feed-icon" import { Image } from "@renderer/components/ui/image" +import { usePreviewImages } from "@renderer/components/ui/image/hooks" import { useAsRead } from "@renderer/hooks/biz/useAsRead" import dayjs from "@renderer/lib/dayjs" import { cn } from "@renderer/lib/utils" @@ -14,6 +15,7 @@ import type { UniversalItemProps } from "./types" export function SocialMediaItem({ entryId, entryPreview, translation }: UniversalItemProps) { const entry = useEntry(entryId) || entryPreview + const previewImage = usePreviewImages() const asRead = useAsRead(entry) const feed = useFeedById(entry?.feedId) @@ -44,9 +46,8 @@ export function SocialMediaItem({ entryId, entryPreview, translation }: Universa