Remove debug code
This commit is contained in:
@@ -158,17 +158,11 @@ export function getThreadPostUI({
|
||||
export function getThreadPostNoUnauthenticatedUI({
|
||||
depth,
|
||||
prevItemDepth,
|
||||
nextItemDepth,
|
||||
}: {
|
||||
depth: number
|
||||
prevItemDepth?: number
|
||||
nextItemDepth?: number
|
||||
}): Extract<ThreadItem, {type: 'threadPostNoUnauthenticated'}>['ui'] {
|
||||
console.log('getThreadPostNoUnauthenticatedUI', {
|
||||
depth,
|
||||
prevItemDepth,
|
||||
nextItemDepth,
|
||||
})
|
||||
return {
|
||||
showChildReplyLine: depth < 0,
|
||||
showParentReplyLine: Boolean(prevItemDepth && prevItemDepth < depth),
|
||||
|
||||
Reference in New Issue
Block a user