fix(desktop): translate content for social media
This commit is contained in:
parent
d3f889a42d
commit
f325da0c31
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue