diff options
author | Ivan Chen <ivan@tagg.id> | 2021-01-22 18:03:47 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-01-22 18:03:47 -0500 |
commit | 3b1d14ba252325ee56f490c2d2318d3f4ef5897a (patch) | |
tree | 7e5f023d5c6bba7363cec36a59a621eacaf77b58 /src/components | |
parent | 5f2159489e75a05dbe6bede792cb8a97971b824a (diff) | |
parent | 8fa77a7e5b73687c9b4f7480dc706498ef8e61ec (diff) |
Merge branch 'master' into tma570-revamp-comments-keyboard-2
# Conflicts:
# src/components/profile/Content.tsx
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/profile/Content.tsx | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/components/profile/Content.tsx b/src/components/profile/Content.tsx index 104d63fa..eb60a005 100644 --- a/src/components/profile/Content.tsx +++ b/src/components/profile/Content.tsx @@ -17,6 +17,12 @@ import {Cover} from '.'; import GreyPlusLogo from '../../assets/icons/grey-plus-logo.svg'; import {COVER_HEIGHT, TAGG_LIGHT_BLUE} from '../../constants'; import { + UPLOAD_MOMENT_PROMPT_THREE_HEADER, + UPLOAD_MOMENT_PROMPT_THREE_MESSAGE, + UPLOAD_MOMENT_PROMPT_TWO_HEADER, + UPLOAD_MOMENT_PROMPT_TWO_MESSAGE, +} from '../../constants/strings'; +import { blockUnblockUser, deleteUserMomentsForCategory, friendUnfriendUser, @@ -344,10 +350,8 @@ const Content: React.FC<ContentProps> = ({y, userXId, screenType}) => { profile.profile_completion_stage === 2 && !isStageTwoPromptClosed && ( <TaggPrompt - messageHeader="Create a new category" - messageBody={ - 'Post your first moment to continue building your digital identity!' - } + messageHeader={UPLOAD_MOMENT_PROMPT_TWO_HEADER} + messageBody={UPLOAD_MOMENT_PROMPT_TWO_MESSAGE} logoType="" onClose={() => { setIsStageTwoPromptClosed(true); @@ -358,10 +362,8 @@ const Content: React.FC<ContentProps> = ({y, userXId, screenType}) => { profile.profile_completion_stage === 3 && !isStageThreePromptClosed && ( <TaggPrompt - messageHeader="Continue to build your profile" - messageBody={ - 'Continue to personalize your own digital space in\nthis community by filling your profile with\ncategories and moments!' - } + messageHeader={UPLOAD_MOMENT_PROMPT_THREE_HEADER} + messageBody={UPLOAD_MOMENT_PROMPT_THREE_MESSAGE} logoType="" onClose={() => { setIsStageThreePromptClosed(true); |