diff --git a/src/state/queries/usePostThread/index.ts b/src/state/queries/usePostThread/index.ts index 4bf296ddc6..09ec354629 100644 --- a/src/state/queries/usePostThread/index.ts +++ b/src/state/queries/usePostThread/index.ts @@ -170,7 +170,11 @@ export function usePostThread({anchor}: {anchor?: string}) { }), ) } else if (additionalItemsQuery.isError) { - // TODO could insert error component + /* + * We could insert an special error component in here, but since these + * are optional additional replies, it's not critical that they're shown + * atm. + */ return [] } else if (additionalItemsQuery.data?.thread) { const {threadItems} = sortAndAnnotateThreadItems( diff --git a/src/state/queries/usePostThread/utils.ts b/src/state/queries/usePostThread/utils.ts index f309be3e50..2c597075b6 100644 --- a/src/state/queries/usePostThread/utils.ts +++ b/src/state/queries/usePostThread/utils.ts @@ -130,7 +130,6 @@ export function getThreadPostUI({ precedesChildReadMore, followsReadMoreUp, }: TraversalMetadata): Extract['ui'] { - // TODO might be able to simplify this const isReplyAndHasReplies = depth > 0 && repliesCount > 0 &&