Skip to content

Commit

Permalink
update mentionComment to use const value
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkiWines committed May 21, 2024
1 parent e8ae3c5 commit 7b2ab30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3778,6 +3778,7 @@ const CONST = {
},

ONBOARDING_MESSAGES: {
onboardingIntroduction: 'Let’s get you set up 🔧',
[onboardingChoices.EMPLOYER]: {
message: 'Getting paid back is as easy as sending a message. Let’s go over the basics.',
video: {
Expand Down
2 changes: 1 addition & 1 deletion src/libs/actions/Report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3076,7 +3076,7 @@ function completeOnboarding(

// Mention message
const mentionHandle = LoginUtils.isEmailPublicDomain(login) ? login : login.split('@')[0];
const mentionComment = ReportUtils.buildOptimisticAddCommentReportAction(`Hey @${mentionHandle} 👋`, undefined, actorAccountID);
const mentionComment = ReportUtils.buildOptimisticAddCommentReportAction(CONST.ONBOARDING_MESSAGES.onboardingIntroduction, undefined, actorAccountID);
const mentionCommentAction: OptimisticAddCommentReportAction = mentionComment.reportAction;
const mentionMessage: AddCommentOrAttachementParams = {
reportID: targetChatReportID,
Expand Down

0 comments on commit 7b2ab30

Please sign in to comment.