redraw lines after changing market

This commit is contained in:
Tyler Shipe 2021-12-14 20:10:18 -05:00
parent a08b1d7e8e
commit 79f15aa6a8
1 changed files with 3 additions and 0 deletions

View File

@ -92,6 +92,7 @@ const TVChartContainer = () => {
defaultProps.interval,
() => {}
)
drawLines()
}
}, [selectedMarketConfig.name])
@ -328,6 +329,8 @@ const TVChartContainer = () => {
}
function getLine(order, market) {
console.log('order price', order.price)
return tvWidgetRef.current
.chart()
.createOrderLine({ disableUndo: false })