diff --git a/src/App.js b/src/App.js index afc1aac..fcda696 100644 --- a/src/App.js +++ b/src/App.js @@ -61,7 +61,7 @@ function App() { .then((res) => res.json()) .then((data) => { setCountry(countryCode); - setCountryInfo(data.data); + setCountryInfo(data); }); };