mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-08-25 06:56:45 +00:00
[Bug]: error keeps interupting "A JavaScript error occured in the main process"
Fixes #779
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user