Remove debug code

This commit is contained in:
Eric Bailey
2025-06-09 17:31:46 -05:00
parent f91fa11593
commit 5f2e17d690
-6
View File
@@ -158,17 +158,11 @@ export function getThreadPostUI({
export function getThreadPostNoUnauthenticatedUI({ export function getThreadPostNoUnauthenticatedUI({
depth, depth,
prevItemDepth, prevItemDepth,
nextItemDepth,
}: { }: {
depth: number depth: number
prevItemDepth?: number prevItemDepth?: number
nextItemDepth?: number nextItemDepth?: number
}): Extract<ThreadItem, {type: 'threadPostNoUnauthenticated'}>['ui'] { }): Extract<ThreadItem, {type: 'threadPostNoUnauthenticated'}>['ui'] {
console.log('getThreadPostNoUnauthenticatedUI', {
depth,
prevItemDepth,
nextItemDepth,
})
return { return {
showChildReplyLine: depth < 0, showChildReplyLine: depth < 0,
showParentReplyLine: Boolean(prevItemDepth && prevItemDepth < depth), showParentReplyLine: Boolean(prevItemDepth && prevItemDepth < depth),