Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Jul 9, 2024
1 parent c70c702 commit 16de7cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/SearchUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ function getReportSections(data: OnyxTypes.SearchResults['data'], metadata: Onyx
const isExpenseReport = reportItem.type === CONST.REPORT.TYPE.EXPENSE;

const to = isExpenseReport
? (data[`${ONYXKEYS.COLLECTION.POLICY}${reportItem.policyID}`] as SearchAccountDetails)
: (data.personalDetailsList?.[reportItem.managerID] as SearchAccountDetails);
? (data[`${ONYXKEYS.COLLECTION.POLICY}${reportItem.policyID}`] as SearchAccountDetails)
: (data.personalDetailsList?.[reportItem.managerID] as SearchAccountDetails);

reportIDToTransactions[reportKey] = {
...reportItem,
Expand Down

0 comments on commit 16de7cf

Please sign in to comment.