Improved APIs to respond to unreachable error

This commit is contained in:
Keannu Christian Bernasol 2023-07-06 15:37:22 +08:00
parent b8efd638ae
commit 99d42f5125
2 changed files with 17 additions and 7 deletions

View file

@ -159,7 +159,7 @@ export default function Register() {
} else {
setUser({
...user,
feedback: ParseError(JSON.stringify(result[2])),
feedback: ParseError(JSON.stringify(result[1])),
});
}
});