From 353c1ec685698bb86e0ff96a346d88205ee389cf Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Wed, 13 Jan 2021 02:58:24 -0500 Subject: [TMA-531] New Explore Page (#179) * redux done * done * added refresh control * added profile navigation * minor spacing change --- src/store/initialStates.ts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/store/initialStates.ts') diff --git a/src/store/initialStates.ts b/src/store/initialStates.ts index de97b129..87e1ce22 100644 --- a/src/store/initialStates.ts +++ b/src/store/initialStates.ts @@ -1,4 +1,5 @@ import { + ExploreSectionType, MomentType, NotificationType, ProfilePreviewType, @@ -58,9 +59,21 @@ export const NO_SOCIAL_ACCOUNTS: Record = { Twitter: {posts: []}, }; +export const EMPTY_EXPLORE_SECTIONS: Record< + ExploreSectionType, + ProfilePreviewType[] +> = { + 'People You May Know': EMPTY_PROFILE_PREVIEW_LIST, + 'New to Tagg': EMPTY_PROFILE_PREVIEW_LIST, + 'Trending on Tagg': EMPTY_PROFILE_PREVIEW_LIST, + "Brown '21": EMPTY_PROFILE_PREVIEW_LIST, + "Brown '22": EMPTY_PROFILE_PREVIEW_LIST, + "Brown '23": EMPTY_PROFILE_PREVIEW_LIST, +}; + export const NO_TAGG_USERS = { recentSearches: EMPTY_PROFILE_PREVIEW_LIST, - taggUsers: EMPTY_PROFILE_PREVIEW_LIST, + explores: EMPTY_EXPLORE_SECTIONS, }; export const NO_SOCIALS = { -- cgit v1.2.3-70-g09d2