fix(desktop): translate content for social media

This commit is contained in:
Stephen Zhou 2025-06-11 13:22:19 +08:00
parent d3f889a42d
commit f325da0c31
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
import type { FeedViewType } from "@follow/constants"
import { FeedViewType } from "@follow/constants"
import { useEntry } from "@follow/store/entry/hooks"
import { useEntryTranslation, usePrefetchEntryTranslation } from "@follow/store/translation/hooks"
import type { FC } from "react"
@ -30,6 +30,7 @@ const EntryItemImpl = memo(function EntryItemImpl({
checkLanguage,
translation: enableTranslation,
language: actionLanguage,
withContent: view === FeedViewType.SocialMedia,
})
const Item: EntryListItemFC = getItemComponentByView(view)