From 97d35eedc5021f8f82ca97c73d3ceaf0bbd95fe7 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Mon, 9 Jun 2025 18:13:12 -0500 Subject: [PATCH] Fix reply composer skeleton state --- src/state/queries/usePostThread/traversal.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/state/queries/usePostThread/traversal.ts b/src/state/queries/usePostThread/traversal.ts index 080b50f0d9..8679e35456 100644 --- a/src/state/queries/usePostThread/traversal.ts +++ b/src/state/queries/usePostThread/traversal.ts @@ -433,11 +433,13 @@ export function buildThread({ hasAnchorFromCache && anchorPost.value.post.viewer?.replyDisabled === true - if (hasAnchorFromCache && !replyDisabled) { - items.push({ - type: 'replyComposer', - key: 'replyComposer', - }) + if (hasAnchorFromCache) { + if (!replyDisabled) { + items.push({ + type: 'replyComposer', + key: 'replyComposer', + }) + } } else { items.push( views.skeleton({