diff --git a/components/token/TokenSelectModal.vue b/components/token/TokenSelectModal.vue index f1117d593..ca386e7a9 100644 --- a/components/token/TokenSelectModal.vue +++ b/components/token/TokenSelectModal.vue @@ -232,7 +232,7 @@ const changeToken = (item: any) => { return; } const url = new URL(route.fullPath, window.location.origin); - url.searchParams.set("network", selectChain.value === "ALL" ? item.networkKey : selectChain.value); + url.searchParams.set("network", selectChain.value === "ALL" ? item.networkKey ?? "ethereum" : selectChain.value); url.searchParams.set("tokenAddress", item.address); window.location.href = url.toString(); };