diff options
author | Leon Jiang <35908040+leonyjiang@users.noreply.github.com> | 2021-03-08 02:40:59 -0500 |
---|---|---|
committer | Leon Jiang <35908040+leonyjiang@users.noreply.github.com> | 2021-03-08 02:40:59 -0500 |
commit | 19813bb8c241ee8cbf4cc6ad8dc2084cfb90b16b (patch) | |
tree | 7bb75943ab81e998bb70ba2d1cbd3e7bd2772830 | |
parent | 7e5f9c63360f8c4505bb414384e13f8c0f7576e4 (diff) |
Prune unused imports and variables
-rw-r--r-- | src/services/SocialLinkingService.ts | 1 | ||||
-rw-r--r-- | src/services/SuggestedPeopleService.ts | 2 | ||||
-rw-r--r-- | src/services/UserFriendsService.ts | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/src/services/SocialLinkingService.ts b/src/services/SocialLinkingService.ts index d1c5c2ff..90b26c96 100644 --- a/src/services/SocialLinkingService.ts +++ b/src/services/SocialLinkingService.ts @@ -13,7 +13,6 @@ import { LINK_TWITTER_OAUTH, } from '../constants'; import {COMING_SOON_MSG, ERROR_LINK, SUCCESS_LINK} from '../constants/strings'; -import {CategorySelection} from '../screens'; // A list of endpoint strings for all the integrated socials export const integratedEndpoints: {[social: string]: [string, string]} = { diff --git a/src/services/SuggestedPeopleService.ts b/src/services/SuggestedPeopleService.ts index c57de59d..d0032458 100644 --- a/src/services/SuggestedPeopleService.ts +++ b/src/services/SuggestedPeopleService.ts @@ -99,7 +99,7 @@ export const getSuggestedPeopleProfile = async (userId: string) => { } }; -export const getMutualBadgeHolders = async (badgeId: string) => { +export const getMutualBadgeHolders = async () => { try { const token = await AsyncStorage.getItem('token'); const response = await fetch(SP_MUTUAL_BADGE_HOLDERS_ENDPOINT, { diff --git a/src/services/UserFriendsService.ts b/src/services/UserFriendsService.ts index a0bf7ac7..dbec1974 100644 --- a/src/services/UserFriendsService.ts +++ b/src/services/UserFriendsService.ts @@ -25,7 +25,6 @@ export const loadFriends = async (userId: string, token: string) => { }; export const friendOrUnfriendUser = async ( - user: string, friend: string, token: string, friendship_status: FriendshipStatusType, |