From 6be50967ca4f0fa089a0aa32ab65c20c7f77fd4c Mon Sep 17 00:00:00 2001 From: rory Date: Fri, 21 Jun 2024 13:50:55 -0700 Subject: [PATCH] Remove unnecessary type assertion --- src/libs/ReportActionsUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/ReportActionsUtils.ts b/src/libs/ReportActionsUtils.ts index 8b117c0df387..16032d41b949 100644 --- a/src/libs/ReportActionsUtils.ts +++ b/src/libs/ReportActionsUtils.ts @@ -588,7 +588,7 @@ function isReportActionDeprecated(reportAction: OnyxEntry, key: st CONST.REPORT.ACTIONS.TYPE.REIMBURSEMENT_SETUP_REQUESTED, CONST.REPORT.ACTIONS.TYPE.DONATION, ]; - if (deprecatedOldDotReportActions.includes(reportAction.actionName as ReportActionName)) { + if (deprecatedOldDotReportActions.includes(reportAction.actionName)) { Log.info('Front end filtered out reportAction for being an older, deprecated report action', false, reportAction); return true; }