about summary refs log tree commit diff
path: root/src/view/com/post-thread/PostThread.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-03-21 10:16:04 -0700
committerGitHub <noreply@github.com>2024-03-21 10:16:04 -0700
commit4ff2bb7abaac0eb8152d688ab7c71df84e725d3a (patch)
tree4cdcac2ad0bd978b232d51fe270f81c9be8ad192 /src/view/com/post-thread/PostThread.tsx
parenteb0ee6ae1ceea0115e8940a9aa117306e3844694 (diff)
downloadvoidsky-4ff2bb7abaac0eb8152d688ab7c71df84e725d3a.tar.zst
Fix missing error on `PostThread` (#3295)
Diffstat (limited to 'src/view/com/post-thread/PostThread.tsx')
-rw-r--r--src/view/com/post-thread/PostThread.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/post-thread/PostThread.tsx b/src/view/com/post-thread/PostThread.tsx
index ba74ba6d8..cf52e8fa4 100644
--- a/src/view/com/post-thread/PostThread.tsx
+++ b/src/view/com/post-thread/PostThread.tsx
@@ -371,7 +371,7 @@ export function PostThread({
   return (
     <>
       <ListMaybePlaceholder
-        isLoading={!preferences || !thread}
+        isLoading={(!preferences || !thread) && !error}
         isError={!!error}
         onRetry={refetch}
         errorTitle={error?.title}