adrianhajdin / project_corona_tracker

This is a code repository for the corresponding YouTube video. In this tutorial, we are going to build and deploy a corona tracker application. Covered topics: React.js, Chart.js, Material UI, and much more.
https://covid19statswebsite.netlify.com/
1.46k stars 481 forks source link

Update Chart.jsx #18

Open sreesairaghava opened 4 years ago

sreesairaghava commented 4 years ago

Displays BarChart for Global Values even for the first time, adding .length make sure it country is empty and render lineChart instead of barChart for the first time.

sreesairaghava commented 4 years ago

Displays BarChart for Global Values even for the first time, adding .length make sure it country is empty and render lineChart instead of barChart for the first time.