gdirk07 / PokemonChecker

Playing around with APIs
https://gdirk07.github.io/PokemonChecker/
0 stars 0 forks source link

Fixed undefined error in App.tsx #19

Closed gdirk07 closed 2 years ago

gdirk07 commented 2 years ago

need to return the response.json() otherwise the code in App.tsx continues to execute instead of waiting for the promise to return.