From 352f5b136ed31089348c2c30fe586e825a5e1991 Mon Sep 17 00:00:00 2001 From: Lizzi Lindboe Date: Tue, 6 Feb 2024 11:01:26 -0800 Subject: [PATCH] Expect error in MoneyRequestView --- src/components/ReportActionItem/MoneyRequestView.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ReportActionItem/MoneyRequestView.tsx b/src/components/ReportActionItem/MoneyRequestView.tsx index de00440e87d3..774503023e6a 100644 --- a/src/components/ReportActionItem/MoneyRequestView.tsx +++ b/src/components/ReportActionItem/MoneyRequestView.tsx @@ -156,6 +156,7 @@ function MoneyRequestView({ Navigation.dismissModal(); return; } + // @ts-expect-error: the type used across the app for policyTags is not what is returned by Onyx, PolicyTagList represents that, but existing policy tag utils need a refactor to fix this IOU.updateMoneyRequestBillable(transaction?.transactionID ?? '', report?.reportID, newBillable, policy, policyTags, policyCategories); Navigation.dismissModal(); },