Merge pull request #153 from cheeaun/main

Update from main
This commit is contained in:
Chee Aun 2023-05-30 09:46:02 +08:00 committed by GitHub
commit 5e52fa87e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,6 +53,7 @@ function Mentions(props) {
}
const results = await conversationsIterator.current.next();
let { value } = results;
value = value?.filter((item) => item.lastStatus);
if (value?.length) {
if (firstLoad) {
latestConversationItem.current = value[0].lastStatus.id;