1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Remove listener for online event (#4970)

This commit is contained in:
Jim Ehrismann 2022-03-10 11:08:31 -05:00 committed by Jim Ehrismann
parent b19860d14d
commit f065d0a576

View File

@ -77,10 +77,6 @@ export const initClusterFrame =
});
});
window.addEventListener("online", () => {
window.location.reload();
});
window.onbeforeunload = () => {
logger.info(
`${logPrefix} Unload dashboard, clusterId=${(hostedCluster.id)}, frameId=${frameRoutingId}`,