zio/stable
Eric Bailey 2023-09-22 09:46:46 -05:00
parent 4fa576cb30
commit 28f5a8e44d
1 changed files with 4 additions and 2 deletions

View File

@ -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],
)