diff --git a/src/App.js b/src/App.js index 02759a9..afc1aac 100644 --- a/src/App.js +++ b/src/App.js @@ -20,6 +20,8 @@ function App() { const [countryInfo, setCountryInfo] = useState({}); const [casesType, setCasesType] = useState("cases"); const [tableData, setTableData] = useState([]); + const [mapCenter, setMapCenter] = useState({ lat: 34.80746, lng: -40.4796 }); + const [mapZoom, setMapZoom] = useState(3); useEffect(() => { fetch("https://disease.sh/v3/covid-19/all") @@ -96,7 +98,7 @@ function App() { /> - +