diff options
| author | Ivan Chen <ivan@thetaggid.com> | 2021-02-23 17:02:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-23 17:02:53 -0500 |
| commit | 5864b997b68ae774a871ee9b43c0e548a2656cc6 (patch) | |
| tree | 5cbc4145437c0c498903a61b21bef0b4f523c1f8 /src/services | |
| parent | 21c03cb2a56e211909c08e8354441286bfc590ac (diff) | |
| parent | 3978bd82db12a4606ebb9a60c15352fb14ee0055 (diff) | |
Merge pull request #261 from IvanIFChen/hotfix-sp-people-state
[HOTFIX] Fixed SP state inconsistencies
Diffstat (limited to 'src/services')
| -rw-r--r-- | src/services/MomentCategoryService.ts | 1 | ||||
| -rw-r--r-- | src/services/UserProfileService.ts | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/services/MomentCategoryService.ts b/src/services/MomentCategoryService.ts index bb2c5542..edd13ad0 100644 --- a/src/services/MomentCategoryService.ts +++ b/src/services/MomentCategoryService.ts @@ -19,7 +19,6 @@ export const loadMomentCategories: ( const data = await response.json(); categories = data.categories; } else { - console.log('Could not load categories!'); return []; } } catch (err) { diff --git a/src/services/UserProfileService.ts b/src/services/UserProfileService.ts index fff35370..bfc4933f 100644 --- a/src/services/UserProfileService.ts +++ b/src/services/UserProfileService.ts @@ -145,8 +145,6 @@ export const loadSocialPosts: ( accountData.handle = body.handle; accountData.posts = body.posts; accountData.profile_pic = body.profile_pic; - } else { - throw 'Unable to fetch posts data from ' + socialType; } } catch (error) { console.log(error); |
