switched to using api tokens instead of login credentials
This commit is contained in:
parent
86f273d12d
commit
226caf4c1e
13 changed files with 215 additions and 85 deletions
|
|
@ -18,6 +18,11 @@ const Search = () => {
|
|||
navigate("/");
|
||||
}
|
||||
|
||||
if (servers.length > 0) {
|
||||
// eslint-disable-next-line react-hooks/set-state-in-effect
|
||||
setServers([]);
|
||||
}
|
||||
|
||||
getServerList().then(servers => {
|
||||
if (servers.length === 0) {
|
||||
alert("No servers found");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue