[🐴] Fix load state for disabled chats (#4119)

zio/stable
Eric Bailey 2024-05-20 14:17:26 -05:00 committed by GitHub
parent 3356bcfba6
commit f52db843ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ function Inner() {
const [hasScrolled, setHasScrolled] = React.useState(false)
const readyToShow =
hasScrolled ||
(convoState.status === ConvoStatus.Ready &&
(isConvoActive(convoState) &&
!convoState.isFetchingHistory &&
convoState.items.length === 0)