Skip to content

Commit

Permalink
Expect error in MoneyRequestView
Browse files Browse the repository at this point in the history
  • Loading branch information
lindboe committed Feb 6, 2024
1 parent 4197a85 commit 352f5b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ReportActionItem/MoneyRequestView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
},
Expand Down

0 comments on commit 352f5b1

Please sign in to comment.