price constraints working

This commit is contained in:
Tim Olson
2023-11-05 16:50:06 -04:00
parent b483974268
commit bec1b33d22
13 changed files with 195 additions and 67 deletions

View File

@@ -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) => {