Initialize Chart throw an error. Error: _chart.default is not a constructor  Change chartjs version to below v3 and it works. https://codesandbox.io/s/admiring-cohen-jrfcx?file=/src/MixedChart.js
Initialize Chart throw an error.
Error:
_chart.default is not a constructor
Change chartjs version to below v3 and it works.
https://codesandbox.io/s/admiring-cohen-jrfcx?file=/src/MixedChart.js