Open HelenHMaher opened 4 years ago
state is successfully mapped to location, but sometimes the top result on the API is still for a city in a neighboring state, so it gives inconsistent results. Also, if you filled in state data but a zip corresponding to a different state, it would give you weather results for the zip code, but covid results for the state you inputed.
the state data is currently only going to the COVID-19 api request and NOT to the location. So if another state contains a city with the inputted name, that city will display instead, but the covid data for the inputted state will show