[🐴] Fix load state for disabled chats (#4119)
parent
3356bcfba6
commit
f52db843ad
|
@ -79,7 +79,7 @@ function Inner() {
|
||||||
const [hasScrolled, setHasScrolled] = React.useState(false)
|
const [hasScrolled, setHasScrolled] = React.useState(false)
|
||||||
const readyToShow =
|
const readyToShow =
|
||||||
hasScrolled ||
|
hasScrolled ||
|
||||||
(convoState.status === ConvoStatus.Ready &&
|
(isConvoActive(convoState) &&
|
||||||
!convoState.isFetchingHistory &&
|
!convoState.isFetchingHistory &&
|
||||||
convoState.items.length === 0)
|
convoState.items.length === 0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue