alexrnguyen / nhl-grid

An NHL trivia game inspired by sudoku in which users must name a player that played for the teams given on each row and column of a grid.
https://nhlgrid.netlify.app
0 stars 0 forks source link

Players sometimes show up more than once in the search results #4

Open alexrnguyen opened 1 year ago

alexrnguyen commented 1 year ago

When a user inputs a player name inside the search modal, it is possible that multiple player items are created for the same player. However, each player should only be associated with 1 clickable player item.

alexrnguyen commented 1 year ago

This issue has been fixed by clearing the player items container AFTER an array of players satisfying the search input is obtained (rather than before).

alexrnguyen commented 11 months ago

This issue has come up again after switching to the NHL's new search API endpoint.

image