Fix crashing whenever hitting an API error from client app
This commit is contained in:
parent
bb2a650eee
commit
0c61fe60a2
|
@ -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