aboutsummaryrefslogtreecommitdiff
path: root/src/services/ExploreService.ts
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-03-08 19:54:42 -0500
committerIvan Chen <ivan@tagg.id>2021-03-08 19:54:42 -0500
commitf899dc058f90813c5ae71e55407a11e6ca13e1ed (patch)
tree84c93e869fab6d434d6709dc1d471c6e588c4e4e /src/services/ExploreService.ts
parent8837ea74dbff9cf455cd7cb092767e51de3900f8 (diff)
parentd77f43663fbe409b011b5509bcbff3d07f8ded55 (diff)
Merge branch 'master' into tma684-search-for-badges
# Conflicts: # src/components/search/SearchResultCell.tsx # src/components/search/SearchResultList.tsx
Diffstat (limited to 'src/services/ExploreService.ts')
-rw-r--r--src/services/ExploreService.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/services/ExploreService.ts b/src/services/ExploreService.ts
index 4f7875dc..9b0b4f71 100644
--- a/src/services/ExploreService.ts
+++ b/src/services/ExploreService.ts
@@ -51,6 +51,7 @@ export const getAllExploreSections = async () => {
return EMPTY_PROFILE_PREVIEW_LIST;
}
const data = await response.json();
+ // TODO (if we return to original explore format): get keys from backend API
const exploreSections: Record<ExploreSectionType, ProfilePreviewType[]> = {
'New to Tagg': data.categories.new_to_tagg,
'People You May Know': data.categories.people_you_may_know,