[🐴] Fix load state for disabled chats (#4119)
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user