Remove debug code

This commit is contained in:
Eric Bailey
2025-06-09 13:46:15 -05:00
parent 14c6076c33
commit 5171b32678
-8
View File
@@ -46,14 +46,7 @@ export interface ThreadCtx {
depth: number
isHighlightedPost?: boolean
hasMore?: boolean
/**
* Means the loading state has parents, but once the data loads we don't even
* populate this value, so it's the same as `threadNode.parents.length`
*/
isParentLoading?: boolean
/**
* Means the loading state has replies
*/
isChildLoading?: boolean
isSelfThread?: boolean
hasMoreSelfThread?: boolean
@@ -115,7 +108,6 @@ export function usePostThreadQuery(uri: string | undefined) {
depth: REPLY_TREE_DEPTH,
})
if (res.success) {
await new Promise(y => setTimeout(y, 3e3)) // wait for the next tick
const thread = responseToThreadNodes(res.data.thread)
annotateSelfThread(thread)
return {