diff options
| author | Henry Jameson <me@hjkos.com> | 2019-03-09 11:54:11 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2019-03-09 11:54:11 +0200 |
| commit | 489f840d84b0057cf9ddddcb8dc594bfc5ad628f (patch) | |
| tree | 0c7cbd6a87e22f4390027c68fa8a6b69bde25623 /src/components/user_profile/user_profile.js | |
| parent | f3a9200b7c17de04bbedf16cb1ac5d9681ab73f4 (diff) | |
fix error
Diffstat (limited to 'src/components/user_profile/user_profile.js')
| -rw-r--r-- | src/components/user_profile/user_profile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js index dc9cdeeb..2d186bc5 100644 --- a/src/components/user_profile/user_profile.js +++ b/src/components/user_profile/user_profile.js @@ -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 |
