Skip to content

Commit

Permalink
Show options
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesTaylor7 committed Feb 1, 2024
1 parent 683bd7d commit cec1cc0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/CitySearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ export default function CitySearch() {
return;
}

if (locations.length === 1) {
getForecast(locations[0]);
return;
}
updateDashboard((dashboard) => dashboard.showSearchOptions(locations));
}, 400),
[updateDashboard, getForecast],
Expand Down

0 comments on commit cec1cc0

Please sign in to comment.