From 5a448c8049c53e0c6ec8fd84ca751ddbdd74076f Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 18 Apr 2024 23:10:26 +0800 Subject: [PATCH] Fix infinite reloading Comment these out because this used to fix an old bug with instances not loaded properly --- src/utils/store-utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/store-utils.js b/src/utils/store-utils.js index 46054ed..042b2fa 100644 --- a/src/utils/store-utils.js +++ b/src/utils/store-utils.js @@ -107,10 +107,10 @@ export function getCurrentInstance() { return (currentInstance = instances[instance]); } catch (e) { console.error(e); - alert(`Failed to load instance configuration. Please try again.\n\n${e}`); + // alert(`Failed to load instance configuration. Please try again.\n\n${e}`); // Temporary fix for corrupted data - store.local.del('instances'); - location.reload(); + // store.local.del('instances'); + // location.reload(); return {}; } }