major refactor of web store into vue setup style declaration; reactivity debugging; order view has known refresh issues
This commit is contained in:
@@ -70,8 +70,8 @@ function tokenAmount(tokenAddr, amount) {
|
||||
const t = token(tokenAddr)
|
||||
if( !t )
|
||||
return ''
|
||||
console.log('tokenAmount amount', typeof amount, amount)
|
||||
console.log('tokenAmount decimals', typeof t.decimals, t.decimals)
|
||||
// console.log('tokenAmount amount', typeof amount, amount)
|
||||
// console.log('tokenAmount decimals', typeof t.decimals, t.decimals)
|
||||
const amt = FixedNumber.fromValue(amount, t.decimals, {width:256, decimals:t.decimals, signed:false})
|
||||
return `${amt} ${t.symbol}`
|
||||
}
|
||||
@@ -111,7 +111,6 @@ function pair(inTokenAddr, outTokenAddr, vaultAddr, index) {
|
||||
|
||||
const orders = computed(()=>{
|
||||
const result = []
|
||||
console.log('computing orders')
|
||||
// for( const [status] of pendingOrders.reverse() ) {
|
||||
// console.log('adding pended order')
|
||||
// const inTokenAddr = status[0]
|
||||
|
||||
Reference in New Issue
Block a user