denormalized PairEntry, cleaned up console logs

This commit is contained in:
Tim Olson
2023-10-04 18:05:43 -04:00
parent 7239987867
commit c206607547
7 changed files with 84 additions and 139 deletions

View File

@@ -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`)
})
}