added search url encoding
This commit is contained in:
parent
6a47760cbf
commit
cdbfb8c185
3 changed files with 7 additions and 2 deletions
|
|
@ -9,6 +9,9 @@ const ServerList = () => {
|
|||
useEffect(() => {
|
||||
getServerList().then(serverList => {
|
||||
setServers(serverList);
|
||||
}).catch(err => {
|
||||
setServers([]);
|
||||
alert(err);
|
||||
})
|
||||
}, []);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue