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 CHANGED
@@ -57869,10 +57869,6 @@ const useWebSocket = (boardId, onCanvasUpdate, userId = crypto.randomUUID()) =>
57869
57869
  console.log("[WS] Already connected, skipping");
57870
57870
  return;
57871
57871
  }
57872
- if (wsRef.current) {
57873
- wsRef.current.close();
57874
- wsRef.current = null;
57875
- }
57876
57872
  const ws = new WebSocket(
57877
57873
  `${WS_BASE_URL}/ws/canvas/${boardIdRef.current}/`
57878
57874
  );