Update ChatList.tsx
This commit is contained in:
@@ -175,7 +175,7 @@ export default function ChatList() {
|
||||
fetchChats();
|
||||
|
||||
// Set up polling for updates every 30 seconds
|
||||
const intervalId = setInterval(fetchChats, 30000);
|
||||
const intervalId = setInterval(fetchChats, 5000);
|
||||
|
||||
return () => clearInterval(intervalId);
|
||||
}, [selectedStore]);
|
||||
|
||||
Reference in New Issue
Block a user