This commit is contained in:
parent
0a6ec532a6
commit
75c223375f
@ -34,7 +34,7 @@ export default function SearchPlayer() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Search by name
|
// Search by name
|
||||||
const players = await searchByName(search);
|
const players = await searchByName(encodeURIComponent(search));
|
||||||
if (players == undefined) return;
|
if (players == undefined) return;
|
||||||
|
|
||||||
setPlayers(players);
|
setPlayers(players);
|
||||||
|
Loading…
Reference in New Issue
Block a user