I am currently trying to build a COVID19 stats tracker for Italy. I have created the stats fields and a I begun creating the graph, however, I am quite new to the Recharts library (http://recharts.org/).
The files are stored in this repo: https://github.com/manuelalonge/covid-19-stats - the issue is probably here: https://github.com/manuelalonge/covid-19-stats/blob/master/src/Graph.js
I specifically receive this warning from the console and I don't know how to fix this, can anyone help?
'Warning: Failed prop type: Invalid prop
data of type
object supplied to
LineChart, expected an array.
in LineChart (at Graph.js:51)
in Graph (at Main.js:57)
in div (at Main.js:54)
in IndexPage (at src/index.js:8)
in StrictMode (at src/index.js:7)'