diff --git a/src/pages/home/report/ReportFooter.tsx b/src/pages/home/report/ReportFooter.tsx index c8f8433bbc46..3a787e1dbd0f 100644 --- a/src/pages/home/report/ReportFooter.tsx +++ b/src/pages/home/report/ReportFooter.tsx @@ -99,7 +99,7 @@ function ReportFooter({ if (email) { assignee = Object.values(allPersonalDetails).find((value) => value?.login === email) ?? {}; } - Task.createTaskAndNavigate(report.reportID, title, '', assignee?.login ?? '', assignee.accountID, assignee.assigneeChatReport, report.policyID); + Task.createTaskAndNavigate(report.reportID, title, '', assignee?.login ?? '', assignee.accountID, undefined, report.policyID); return true; }, [allPersonalDetails, report.policyID, report.reportID], diff --git a/src/types/onyx/PersonalDetails.ts b/src/types/onyx/PersonalDetails.ts index a6a3426af10a..42482f9104dc 100644 --- a/src/types/onyx/PersonalDetails.ts +++ b/src/types/onyx/PersonalDetails.ts @@ -1,7 +1,6 @@ import type {AvatarSource} from '@libs/UserUtils'; import type TIMEZONES from '@src/TIMEZONES'; import type * as OnyxCommon from './OnyxCommon'; -import type Report from './Report'; type SelectedTimezone = (typeof TIMEZONES)[number]; @@ -80,9 +79,6 @@ type PersonalDetails = OnyxCommon.OnyxValueWithOfflineFeedback<{ /** Status of the current user from their personal details */ status?: Status; - - /** Chat report with assignee of task */ - assigneeChatReport?: Report; }>; type PersonalDetailsList = Record;