mirror of
https://github.com/sasjs/server.git
synced 2026-01-08 23:10:05 +00:00
chore: code fixes API + web
This commit is contained in:
@@ -22,7 +22,7 @@ const Login = () => {
|
||||
username,
|
||||
password
|
||||
}).catch((err: any) => {
|
||||
setErrorMessage(err.response.data)
|
||||
setErrorMessage(err.response?.data || err.toString())
|
||||
return {}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user