desguerra/weather-dashboard

Fix Error when a non-city is searched

Closed this issue · 1 comments

Current behavior

  • when searching for a city that doesn't exist in the US, there is an error when trying to access that non-city's latitude and longitude

Expected behavior

  • fix this edge case so that if this happens, the user gets an alert saying that city does not exist

issue resolved!!