Skip to content

Commit dc8281a

Browse files
Archmongerrmorshea
authored andcommitted
Remove WS alert
1 parent a8b30cf commit dc8281a

File tree

1 file changed

+0
-5
lines changed
  • src/client/packages/idom-client-react/src

1 file changed

+0
-5
lines changed

src/client/packages/idom-client-react/src/mount.js

-5
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,6 @@ function _nextReconnectTimeout(maxReconnectTimeout, mountState) {
9292
Math.floor(Math.random() * mountState.reconnectTimeoutRange) || 1;
9393
mountState.reconnectTimeoutRange =
9494
(mountState.reconnectTimeoutRange + 5) % maxReconnectTimeout;
95-
if (mountState.reconnectAttempts === 4) {
96-
window.alert(
97-
"Server connection was lost. Attempts to reconnect are being made in the background."
98-
);
99-
}
10095
return timeout;
10196
}
10297

0 commit comments

Comments
 (0)