bool
parent
4fa576cb30
commit
28f5a8e44d
|
@ -81,8 +81,10 @@ export const PostThreadItem = observer(function PostThreadItem({
|
|||
)
|
||||
const needsTranslation = useMemo(
|
||||
() =>
|
||||
Boolean(
|
||||
store.preferences.primaryLanguage &&
|
||||
!isPostInLanguage(item.post, [store.preferences.primaryLanguage]),
|
||||
),
|
||||
[item.post, store.preferences.primaryLanguage],
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue