Increase strength of check for post stats guard

This commit is contained in:
Eric Bailey
2024-11-13 14:50:39 -06:00
parent 3bab7f7540
commit 4942562c3a
+3 -3
View File
@@ -382,9 +382,9 @@ let PostThreadItemLoaded = ({
translatorUrl={translatorUrl}
needsTranslation={needsTranslation}
/>
{post.repostCount !== 0 ||
post.likeCount !== 0 ||
post.quoteCount !== 0 ? (
{(typeof post.repostCount === 'number' && post.repostCount !== 0) ||
(typeof post.likeCount === 'number' && post.likeCount !== 0) ||
(typeof post.quoteCount === 'number' && post.quoteCount !== 0) ? (
// Show this section unless we're *sure* it has no engagement.
<View
style={[