better fix for below
All checks were successful
deploy / deploy (push) Successful in 1m8s

This commit is contained in:
Lee
2023-10-20 22:00:19 +01:00
parent 75c223375f
commit f418ac9388
2 changed files with 5 additions and 3 deletions

View File

@ -34,7 +34,7 @@ export default function SearchPlayer() {
}
// Search by name
const players = await searchByName(encodeURIComponent(search));
const players = await searchByName(search);
if (players == undefined) return;
setPlayers(players);