Fix crashing whenever hitting an API error from client app
This commit is contained in:
parent
c818bc9a3f
commit
711fab2269
|
@ -37,7 +37,7 @@ const del = apiCall("DELETE")
|
|||
const ERROR_MEMBER = "##error"
|
||||
const error = message => {
|
||||
const err = { [ERROR_MEMBER]: message }
|
||||
appStore.update(s => s["##error_message"], message)
|
||||
// appStore.update(s => s["##error_message"], message)
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue