Skip to content

Commit

Permalink
remove initialValue for transactions with selector
Browse files Browse the repository at this point in the history
  • Loading branch information
TMisiukiewicz committed Jan 24, 2025
1 parent aa849f1 commit f3c4675
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/ReportActionItem/ReportPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ function ReportPreview({
const [iouReport] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${iouReportID}`);
const [transactions] = useOnyx(ONYXKEYS.COLLECTION.TRANSACTION, {
selector: (_transactions) => reportTransactionsSelector(_transactions, iouReportID),
initialValue: [],
});
const [transactionViolations] = useOnyx(ONYXKEYS.COLLECTION.TRANSACTION_VIOLATIONS);
const [userWallet] = useOnyx(ONYXKEYS.USER_WALLET);
Expand Down

0 comments on commit f3c4675

Please sign in to comment.