diff options
| author | Ivan Chen <ivan@thetaggid.com> | 2021-01-13 02:58:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-13 02:58:24 -0500 |
| commit | 353c1ec685698bb86e0ff96a346d88205ee389cf (patch) | |
| tree | 021f721cc8eb94ab007183c39d808e9eb3a468e8 /src/store/initialStates.ts | |
| parent | 5664f30a218af4620be69c66f4aba93d5972f890 (diff) | |
[TMA-531] New Explore Page (#179)
* redux done
* done
* added refresh control
* added profile navigation
* minor spacing change
Diffstat (limited to 'src/store/initialStates.ts')
| -rw-r--r-- | src/store/initialStates.ts | 15 |
1 files changed, 14 insertions, 1 deletions
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<string, SocialAccountType> = { 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 = { |
