Update ChatList.tsx

This commit is contained in:
NotII
2025-03-04 22:44:54 +00:00
parent 5501b17c64
commit c7a2ee0234

View File

@@ -175,7 +175,7 @@ export default function ChatList() {
fetchChats(); fetchChats();
// Set up polling for updates every 30 seconds // Set up polling for updates every 30 seconds
const intervalId = setInterval(fetchChats, 30000); const intervalId = setInterval(fetchChats, 5000);
return () => clearInterval(intervalId); return () => clearInterval(intervalId);
}, [selectedStore]); }, [selectedStore]);