bool
This commit is contained in:
@@ -81,8 +81,10 @@ export const PostThreadItem = observer(function PostThreadItem({
|
|||||||
)
|
)
|
||||||
const needsTranslation = useMemo(
|
const needsTranslation = useMemo(
|
||||||
() =>
|
() =>
|
||||||
store.preferences.primaryLanguage &&
|
Boolean(
|
||||||
!isPostInLanguage(item.post, [store.preferences.primaryLanguage]),
|
store.preferences.primaryLanguage &&
|
||||||
|
!isPostInLanguage(item.post, [store.preferences.primaryLanguage]),
|
||||||
|
),
|
||||||
[item.post, store.preferences.primaryLanguage],
|
[item.post, store.preferences.primaryLanguage],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user