mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
formatting
This commit is contained in:
@@ -55,7 +55,7 @@ const SignIn: FC = () => {
|
|||||||
const signIn = async () => {
|
const signIn = async () => {
|
||||||
await callSignIn(signInRequest).catch((event) => {
|
await callSignIn(signInRequest).catch((event) => {
|
||||||
if (event.message === 'Unauthorized') {
|
if (event.message === 'Unauthorized') {
|
||||||
toast.warn(LL.INVALID_LOGIN());
|
toast.warning(LL.INVALID_LOGIN());
|
||||||
} else {
|
} else {
|
||||||
toast.error(LL.ERROR() + ' ' + event.message);
|
toast.error(LL.ERROR() + ' ' + event.message);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user