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 GitHub
parent 98235d17ac
commit bba3199bb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}`,