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