binbot-charts 0.2.10 → 0.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,20 +46,8 @@ function TVChartContainer(_ref) {
46
46
 
47
47
  if (orderLines && orderLines.length > 0) {
48
48
  updateOrderLines(orderLines);
49
- } // returned function will be called on component unmount
50
-
51
-
52
- return () => {
53
- componentUnMount();
54
- };
55
- }, [orderLines]);
56
-
57
- const componentUnMount = () => {
58
- if (widgetState !== null) {
59
- widgetState.remove();
60
- setWidgetState(null);
61
49
  }
62
- };
50
+ }, [orderLines]);
63
51
 
64
52
  const initializeChart = () => {
65
53
  const widgetOptions = {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.10",
2
+ "version": "0.2.11",
3
3
  "name": "binbot-charts",
4
4
  "dependencies": {
5
5
  "react": "^17.0.1",