drawboard-microservice 1.0.25 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +0 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -57850,10 +57850,6 @@ const useWebSocket = (boardId, onCanvasUpdate, userId = crypto.randomUUID()) =>
|
|
|
57850
57850
|
console.log("[WS] Already connected, skipping");
|
|
57851
57851
|
return;
|
|
57852
57852
|
}
|
|
57853
|
-
if (wsRef.current) {
|
|
57854
|
-
wsRef.current.close();
|
|
57855
|
-
wsRef.current = null;
|
|
57856
|
-
}
|
|
57857
57853
|
const ws = new WebSocket(
|
|
57858
57854
|
`${WS_BASE_URL}/ws/canvas/${boardIdRef.current}/`
|
|
57859
57855
|
);
|