Remove listener for online event (#4970)

This commit is contained in:
Jim Ehrismann authored and GitHub committed 2022-03-10 11:08:31 -05:00
1 parent 98235d17ac
commit bba3199bb5
1 file changed
-4
@@ -75,10 +75,6 @@ export const initClusterFrame =
});
});
window.addEventListener("online", () => {
window.location.reload();
});
window.onbeforeunload = () => {
logger.info(
`${logPrefix} Unload dashboard, clusterId=${(hostedCluster.id)}, frameId=${frameRoutingId}`,