center book on group size change

This commit is contained in:
saml33 2023-11-21 13:50:42 +11:00
parent 3330583f3e
commit 921f7ada61
1 changed files with 1 additions and 0 deletions

View File

@ -431,6 +431,7 @@ const Orderbook = () => {
usersOpenOrderPrices,
)
setOrderbookData(updatedOrderbook)
verticallyCenterOrderbook()
}
},
[currentOrderbookData, depth, market, usersOpenOrderPrices],