chore: restore polling in voice

This commit is contained in:
Tristan Yang
2023-08-13 17:48:29 +08:00
parent 100a540b1c
commit 0996fbefb3
+2 -1
View File
@@ -40,7 +40,8 @@ const Voice = () => {
useGetAgoraChannelsQuery(
{ page_no: 0, page_size: 100 },
{
skip: !enabled || !navigator.onLine
skip: !enabled || !navigator.onLine,
pollingInterval: 10000
}
);
const dispatch = useDispatch();