mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-15 02:07:50 -05:00
Update Calls.js
This commit is contained in:
@@ -300,7 +300,7 @@ useLayoutEffect(() => {
|
|||||||
console.log("Socket Connect");
|
console.log("Socket Connect");
|
||||||
setLive( (live) => {
|
setLive( (live) => {
|
||||||
if (live) {
|
if (live) {
|
||||||
startSocket();
|
//startSocket();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -316,7 +316,7 @@ useLayoutEffect(() => {
|
|||||||
console.log("Socket Reconnected after attempts: " + attempts); // true
|
console.log("Socket Reconnected after attempts: " + attempts); // true
|
||||||
setLive( (live) => {
|
setLive( (live) => {
|
||||||
if (live) {
|
if (live) {
|
||||||
startSocket();
|
//startSocket();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user