price constraints working
This commit is contained in:
@@ -28,7 +28,10 @@ socket.on('p', async (pool, price) => {
|
||||
const s = useStore()
|
||||
const prices = {}
|
||||
prices[pool] = price
|
||||
s.$patch({poolPrices: prices})
|
||||
console.log('pool price', pool, price)
|
||||
const poolPrices = s.poolPrices
|
||||
poolPrices[pool] = price
|
||||
s.poolPrices = poolPrices
|
||||
})
|
||||
|
||||
socket.on('vb', async (vault, balances) => {
|
||||
|
||||
Reference in New Issue
Block a user