From c70c70285284602e7ee4b153d3690018b0c7caf0 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Tue, 9 Jul 2024 15:23:26 -0600 Subject: [PATCH] fix types --- .../SelectionList/Search/TransactionListItemRow.tsx | 2 +- src/libs/SearchUtils.ts | 2 +- src/types/onyx/SearchResults.ts | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/SelectionList/Search/TransactionListItemRow.tsx b/src/components/SelectionList/Search/TransactionListItemRow.tsx index 23f9234819c3..ec112e43fb3c 100644 --- a/src/components/SelectionList/Search/TransactionListItemRow.tsx +++ b/src/components/SelectionList/Search/TransactionListItemRow.tsx @@ -155,7 +155,7 @@ function TotalCell({showTooltip, isLargeScreenWidth, transactionItem}: TotalCell function TypeCell({transactionItem, isLargeScreenWidth}: TransactionCellProps) { const theme = useTheme(); - const typeIcon = getTypeIcon(transactionItem.type); + const typeIcon = getTypeIcon(transactionItem.transactionType); return ( ; /** The accountID of the report manager */ managerID?: number; @@ -117,7 +117,7 @@ type SearchReport = { accountID?: number; /** The policyID of the report */ - policyID?: ValueOf; + policyID?: string; /** The date the report was created */ created?: string; @@ -180,7 +180,7 @@ type SearchTransaction = { category: string; /** The type of request */ - type: ValueOf; + transactionType: ValueOf; /** The type of report the transaction is associated with */ reportType: string;