Skip to content

Commit

Permalink
Merge pull request #43236 from Expensify/vit-41522
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisl authored Jun 7, 2024
2 parents 5297302 + 3d61e09 commit 31ff066
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3873,10 +3873,10 @@ const CONST = {
type: 'meetGuide',
autoCompleted: false,
title: 'Meet your setup specialist',
description: ({adminsRoomLink, guideCalendarLink}: {adminsRoomLink: string; guideCalendarLink: string}) =>
description: ({adminsRoomLink}: {adminsRoomLink: string}) =>
`Meet your setup specialist, who can answer any questions as you get started with Expensify. Yes, a real human!\n` +
'\n' +
`Chat with the specialist in your [#admins room](${adminsRoomLink}) or [schedule a call](${guideCalendarLink}) today.`,
`Chat with the specialist in your [#admins room](${adminsRoomLink}).`,
},
{
type: 'setupCategories',
Expand Down
9 changes: 0 additions & 9 deletions src/libs/actions/Report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,6 @@ Onyx.connect({
},
});

let guideCalendarLink: string | undefined;
Onyx.connect({
key: ONYXKEYS.ACCOUNT,
callback: (value) => {
guideCalendarLink = value?.guideCalendarLink ?? undefined;
},
});

let preferredSkinTone: number = CONST.EMOJI_DEFAULT_SKIN_TONE;
Onyx.connect({
key: ONYXKEYS.PREFERRED_EMOJI_SKIN_TONE,
Expand Down Expand Up @@ -3163,7 +3155,6 @@ function completeOnboarding(
typeof task.description === 'function'
? task.description({
adminsRoomLink: `${CONFIG.EXPENSIFY.NEW_EXPENSIFY_URL}${ROUTES.REPORT_WITH_ID.getRoute(adminsChatReportID ?? '')}`,
guideCalendarLink: guideCalendarLink ?? CONFIG.EXPENSIFY.NEW_EXPENSIFY_URL,
})
: task.description;
const currentTask = ReportUtils.buildOptimisticTaskReport(
Expand Down

0 comments on commit 31ff066

Please sign in to comment.