fix spaces in search
All checks were successful
deploy / deploy (push) Successful in 55s

This commit is contained in:
Lee 2023-10-20 21:59:04 +01:00
parent 0a6ec532a6
commit 75c223375f

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