diff --git a/src/pages/home/report/ReportActionItem.tsx b/src/pages/home/report/ReportActionItem.tsx index ea674402a8d2..b56576bd9cce 100644 --- a/src/pages/home/report/ReportActionItem.tsx +++ b/src/pages/home/report/ReportActionItem.tsx @@ -658,7 +658,7 @@ function ReportActionItem({ } else if (ReportActionsUtils.isActionOfType(action, CONST.REPORT.ACTIONS.TYPE.EXPORTED_TO_INTEGRATION)) { children = ; } else if (ReportActionsUtils.isRenamedAction(action)) { - const initialMessage = ReportActionsUtils.isRenamedAction(action) ? ReportActionsUtils.getOriginalMessage(action) : null; + const initialMessage = ReportActionsUtils.getOriginalMessage(action); const message = translate('newRoomPage.renamedRoomAction', { oldName: initialMessage?.oldName ?? '', newName: initialMessage?.newName ?? '',