Try to fix err message
This commit is contained in:
parent
5cbefaca17
commit
26d925ed4a
4 changed files with 4 additions and 0 deletions
|
|
@ -95,6 +95,7 @@ import "../../styles/page.css"
|
|||
|
||||
form.submit()
|
||||
} catch (err: any) {
|
||||
error.style = ""
|
||||
error.textContent = err.message || "Login failed"
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ import "../styles/page.css"
|
|||
|
||||
form.submit()
|
||||
} catch (err: any) {
|
||||
error.style = ""
|
||||
error.textContent = err.message || "Login failed"
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ import "../../styles/page.css"
|
|||
|
||||
form.submit()
|
||||
} catch (err: any) {
|
||||
error.style = ""
|
||||
error.textContent = err.message || "Login failed"
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ import "../../styles/page.css"
|
|||
|
||||
form.submit()
|
||||
} catch (err: any) {
|
||||
error.style = ""
|
||||
error.textContent = err.message || "Login failed"
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue