[Bug]: error keeps interupting "A JavaScript error occured in the main process"

Fixes #779
This commit is contained in:
kvan7
2025-12-18 11:16:26 -06:00
parent 16c7581c93
commit bd5a26c8d9
+4 -2
View File
@@ -208,6 +208,8 @@ export const usePoeninja = createGlobalState(() => {
>();
lastUpdateTime = Date.now();
} catch (e) {
console.warn(e);
} finally {
isLoading.value = false;
}
@@ -227,9 +229,9 @@ export const usePoeninja = createGlobalState(() => {
return "hardcore";
}
if (league.startsWith("HC ")) {
return proxy ? "leaguehc" : "abysshc";
return proxy ? "leaguehc" : "vaalhc";
}
return proxy ? "league" : "abyss";
return proxy ? "league" : "vaal";
}
function findPriceByQuery(query: DbQuery) {