Closed revanth666 closed 4 years ago
Method
onready
was removed. You can usewindow.addEventListener('DOMContentLoaded', callback, false)
instead.
You can see Breaking-Changes
TypeError: window.TradingView.onready is not a function TVChartContainer.componentDidMount
/TradeViewChart/tradingview-js-api-tutorial-master/tradingview-js-api-tutorial-master/part1/src/components/TVChartContainer/index.jsx:58
TypeError: window.TradingView.onready is not a function TVChartContainer.componentDidMount
/TradeViewChart/tradingview-js-api-tutorial-master/tradingview-js-api-tutorial-master/part1/src/components/TVChartContainer/index.jsx:58