0
I solved this by removed the [] around this.state.totalSales. I was essentially putting an array into another array.
Source:stackexchange.com
0
I solved this by removed the [] around this.state.totalSales. I was essentially putting an array into another array.