From e192536c76bb5bed1e670e2e07d38b88e0717c73 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Tue, 23 Feb 2021 15:22:19 -0500 Subject: fixed people state inconsistencies --- src/services/MomentCategoryService.ts | 1 - src/services/UserProfileService.ts | 2 -- 2 files changed, 3 deletions(-) (limited to 'src/services') 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); -- cgit v1.2.3-70-g09d2