Fix reply composer skeleton state
This commit is contained in:
@@ -433,11 +433,13 @@ export function buildThread({
|
|||||||
hasAnchorFromCache &&
|
hasAnchorFromCache &&
|
||||||
anchorPost.value.post.viewer?.replyDisabled === true
|
anchorPost.value.post.viewer?.replyDisabled === true
|
||||||
|
|
||||||
if (hasAnchorFromCache && !replyDisabled) {
|
if (hasAnchorFromCache) {
|
||||||
|
if (!replyDisabled) {
|
||||||
items.push({
|
items.push({
|
||||||
type: 'replyComposer',
|
type: 'replyComposer',
|
||||||
key: 'replyComposer',
|
key: 'replyComposer',
|
||||||
})
|
})
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
items.push(
|
items.push(
|
||||||
views.skeleton({
|
views.skeleton({
|
||||||
|
|||||||
Reference in New Issue
Block a user