Chat Folders: Fix updating folder list
This commit is contained in:
parent
4b3559a381
commit
cdf0335b97
@ -69,10 +69,10 @@ const ChatFolders: FC<OwnProps & StateProps> = ({
|
||||
const lang = useLang();
|
||||
|
||||
useEffect(() => {
|
||||
if (lastSyncTime && !orderedFolderIds) {
|
||||
if (lastSyncTime) {
|
||||
loadChatFolders();
|
||||
}
|
||||
}, [lastSyncTime, loadChatFolders, orderedFolderIds]);
|
||||
}, [lastSyncTime, loadChatFolders]);
|
||||
|
||||
const allChatsFolder = useMemo(() => {
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user