fix error
This commit is contained in:
parent
f3a9200b7c
commit
489f840d84
|
@ -105,7 +105,7 @@ const UserProfile = {
|
|||
this.fetchedUserId = userId
|
||||
})
|
||||
}
|
||||
fetchPromise
|
||||
return fetchPromise
|
||||
.catch((reason) => {
|
||||
const errorMessage = get(reason, 'error.error')
|
||||
if (errorMessage === 'No user with such user_id') { // Known error
|
||||
|
|
Loading…
Reference in New Issue