From e1b1c211749b7a46568e87d7ca65ee9781e3b4cf Mon Sep 17 00:00:00 2001 From: Alberto Date: Tue, 8 Aug 2023 15:48:04 +0200 Subject: [PATCH] use action --- src/pages/home/report/ReportActionItem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/home/report/ReportActionItem.js b/src/pages/home/report/ReportActionItem.js index 17658a0dad51..f38f52af1fe5 100644 --- a/src/pages/home/report/ReportActionItem.js +++ b/src/pages/home/report/ReportActionItem.js @@ -600,7 +600,7 @@ export default compose( key: ONYXKEYS.PREFERRED_EMOJI_SKIN_TONE, }, iouReport: { - key: ({report}) => `${ONYXKEYS.COLLECTION.REPORT}${report.iouReportID}`, + key: ({action}) => `${ONYXKEYS.COLLECTION.REPORT}${ReportActionsUtils.getIOUReportIDFromReportActionPreview(action)}`, }, emojiReactions: { key: ({action}) => `${ONYXKEYS.COLLECTION.REPORT_ACTIONS_REACTIONS}${action.reportActionID}`,