Skip to content

Commit

Permalink
Remove unnecessary type assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Jun 21, 2024
1 parent eb4ffbd commit 6be5096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportActionsUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ function isReportActionDeprecated(reportAction: OnyxEntry<ReportAction>, 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;
}
Expand Down

0 comments on commit 6be5096

Please sign in to comment.