Skip to content

Commit

Permalink
Update src/pages/home/report/ReportActionItem.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Fábio Henriques <[email protected]>
  • Loading branch information
wildan-m and fabioh8010 authored Feb 12, 2025
1 parent ce7b157 commit edbddd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function ReportActionItem({action, report, ...props}: PureReportActionItemProps)
// The app would crash due to subscribing to the entire report collection if parentReportID is an empty string. So we should have a fallback ID here.
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
const [parentReport] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${report?.parentReportID || undefined}`);
const [personalDetails] = useOnyx(`${ONYXKEYS.PERSONAL_DETAILS_LIST}`);
const [personalDetails] = useOnyx(ONYXKEYS.PERSONAL_DETAILS_LIST);
const blockedFromConcierge = useBlockedFromConcierge();
const [userBillingFundID] = useOnyx(ONYXKEYS.NVP_BILLING_FUND_ID);
const linkedReport = ReportUtils.isChatThread(report) ? parentReport : report;
Expand Down

0 comments on commit edbddd3

Please sign in to comment.