1
0
Fork 0
mirror of synced 2024-09-30 09:07:25 +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 c818bc9a3f
commit 711fab2269

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
}