From 5171b326783c48620416dce52c5905a67d790c37 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Mon, 9 Jun 2025 13:46:15 -0500 Subject: [PATCH] Remove debug code --- src/state/queries/post-thread.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/state/queries/post-thread.ts b/src/state/queries/post-thread.ts index 7415283dc3..551fedc8b4 100644 --- a/src/state/queries/post-thread.ts +++ b/src/state/queries/post-thread.ts @@ -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 {