We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16a4697 commit 80dd230Copy full SHA for 80dd230
2 files changed
frontend/src/lib/skill_tree.ts
@@ -474,6 +474,14 @@ export const openTrade = (
474
platform: string,
475
league: string
476
) => {
477
+ if (!platform || typeof platform !== 'string') {
478
+ platform = 'PC';
479
+ }
480
+
481
+ if (!league || typeof league !== 'string') {
482
+ league = 'Standard';
483
484
485
const url = new URL(
486
`https://www.pathofexile.com/trade/search${platform === 'PC' ? '' : `/${platform.toLowerCase()}`}/${league}`
487
);
frontend/src/routes/tree/+page.svelte
@@ -458,7 +458,6 @@
458
};
459
460
$: league && localStorage.setItem('league', league.value);
461
- $: console.log(league);
462
463
onMount(() => {
464
getLeagues();
0 commit comments