Skip to content

Commit

Permalink
Merge pull request deriv-com#629 from deriv-com/revert-620-farhan/DTR…
Browse files Browse the repository at this point in the history
…A-912/console-error-on-chat-initialization-after-purchasing-contract

Revert "[DTRA] Farhan/DTRA-912/A console error is appearing after purchasing a trade in the staging environment of SmartTrader."
  • Loading branch information
balakrishna-deriv authored Apr 4, 2024
2 parents 7d12733 + d953610 commit ce3aaea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascript/app/pages/trade/charts/highchart.js
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ const Highchart = (() => {
const series = chart.series[0];
if (granularity === 0) {
const data = update_options.tick;
chart.series[0].addPoint({ x: data.epoch * 1000, y: data.quote * 1 }, false);
chart.series[0].addPoint({ x: data.epoch * 1000, y: data.quote * 1 });
updateBarrier();
} else {
const c = update_options.ohlc;
Expand Down

0 comments on commit ce3aaea

Please sign in to comment.