Fix missing error on `PostThread` (#3295)

zio/stable
Hailey 2024-03-21 10:16:04 -07:00 committed by GitHub
parent eb0ee6ae1c
commit 4ff2bb7aba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ export function PostThread({
return ( return (
<> <>
<ListMaybePlaceholder <ListMaybePlaceholder
isLoading={!preferences || !thread} isLoading={(!preferences || !thread) && !error}
isError={!!error} isError={!!error}
onRetry={refetch} onRetry={refetch}
errorTitle={error?.title} errorTitle={error?.title}