diff --git a/src/libs/ReportActionsFollowupUtils.ts b/src/libs/ReportActionsFollowupUtils.ts index e068a3935daea..acfbc01ebbc58 100644 --- a/src/libs/ReportActionsFollowupUtils.ts +++ b/src/libs/ReportActionsFollowupUtils.ts @@ -9,8 +9,8 @@ import {getReportActionMessage, isActionOfType} from './ReportActionsUtils'; * @returns true if the action is an ADD_COMMENT with unresolved followups, false otherwise */ function containsActionableFollowUps(reportAction: OnyxInputOrEntry): boolean { - const isActionAComment = isActionOfType(reportAction, CONST.REPORT.ACTIONS.TYPE.ADD_COMMENT); - if (!isActionAComment) { + const isAddCommentAction = isActionOfType(reportAction, CONST.REPORT.ACTIONS.TYPE.ADD_COMMENT); + if (!isAddCommentAction) { return false; } const messageHtml = getReportActionMessage(reportAction)?.html;