Skip to content

Commit

Permalink
Test changing multiple files v2
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed Sep 10, 2024
1 parent 19960bd commit f69c458
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/components/ArchivedReportFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ function ArchivedReportFooter({report, reportClosedAction, personalDetails = {}}
);
}

ArchivedReportFooter.displayName = 'ArchivedReportFooter2';
ArchivedReportFooter.displayName = 'ArchivedReportFooter';

export default ArchivedReportFooter;
export default withOnyx<ArchivedReportFooterProps, ArchivedReportFooterOnyxProps>({
personalDetails: {
key: ONYXKEYS.PERSONAL_DETAILS_LIST,
},
reportClosedAction: {
key: ({report}) => `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report.reportID}`,
canEvict: false,
selector: ReportActionsUtils.getLastClosedReportAction,
},
})(ArchivedReportFooter);

0 comments on commit f69c458

Please sign in to comment.