denormalized PairEntry, cleaned up console logs
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
v-bind="modelValue" @update:modelValue="updateValue"
|
||||
variant="outlined"
|
||||
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||
v-auto-select
|
||||
>
|
||||
<template v-slot:prepend><slot name="prepend"/></template>
|
||||
<template v-slot:item="{props,item}">
|
||||
@@ -22,6 +23,8 @@
|
||||
import {useStore as useStore2} from "@/store/store";
|
||||
import {ref} from "vue";
|
||||
import {ethers} from "ethers";
|
||||
// noinspection ES6UnusedImports
|
||||
import {vAutoSelect} from "@/misc.js";
|
||||
|
||||
const s = useStore2()
|
||||
const props = defineProps(['modelValue', 'label'])
|
||||
@@ -64,7 +67,7 @@ function updateValue(v) {
|
||||
emit('update:modelValue', info)
|
||||
}
|
||||
}).catch((e)=>{
|
||||
console.log(e)
|
||||
// console.log(e)
|
||||
error(`${addr} is not a valid ERC20 token`)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user