1
0
Fork 0
mirror of synced 2024-10-05 12:34:50 +13:00

Fix crashing whenever hitting an API error from client app

This commit is contained in:
Andrew Kingston 2020-10-16 09:37:19 +01:00
parent bb2a650eee
commit 0c61fe60a2

View file

@ -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
}