diff --git a/src/components/left/main/ChatFolders.tsx b/src/components/left/main/ChatFolders.tsx index efb3ff7d6..4a2c97cfb 100644 --- a/src/components/left/main/ChatFolders.tsx +++ b/src/components/left/main/ChatFolders.tsx @@ -69,10 +69,10 @@ const ChatFolders: FC = ({ const lang = useLang(); useEffect(() => { - if (lastSyncTime && !orderedFolderIds) { + if (lastSyncTime) { loadChatFolders(); } - }, [lastSyncTime, loadChatFolders, orderedFolderIds]); + }, [lastSyncTime, loadChatFolders]); const allChatsFolder = useMemo(() => { return {