Fix: remove duplicates in the TL caused by rendering reply parents

This commit is contained in:
Paul Frazee
2023-01-16 14:49:58 -06:00
parent 6953bf9d22
commit 6df617003a
2 changed files with 27 additions and 1 deletions
+2 -1
View File
@@ -96,7 +96,8 @@ export const FeedItem = observer(function ({
return <View />
}
const isChild = item._isThreadChild || (!item.reason && item.reply)
const isChild =
item._isThreadChild || (!item.reason && !item._hideParent && item.reply)
const isSmallTop = isChild && item._isThreadChild
const isNoTop = isChild && !item._isThreadChild
const outerStyles = [