From 45b8ddde909bb81976cb8841236f1df226c7c34d Mon Sep 17 00:00:00 2001 From: Jakub Butkiewicz Date: Fri, 8 Mar 2024 17:00:07 +0100 Subject: [PATCH] fix: covered one more case --- src/pages/home/report/ReportActionItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/home/report/ReportActionItem.tsx b/src/pages/home/report/ReportActionItem.tsx index 1000a45604b3..7285f550d3ca 100644 --- a/src/pages/home/report/ReportActionItem.tsx +++ b/src/pages/home/report/ReportActionItem.tsx @@ -880,7 +880,7 @@ export default withOnyx({ iouReport: { key: ({action}) => { const iouReportID = ReportActionsUtils.getIOUReportIDFromReportActionPreview(action); - return `${ONYXKEYS.COLLECTION.REPORT}${iouReportID ?? ''}`; + return `${ONYXKEYS.COLLECTION.REPORT}${iouReportID ?? 0}`; }, initialValue: {} as OnyxTypes.Report, },