Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pages/Search/SearchPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@
{
query: status,
jsonQuery: JSON.stringify(queryJSON),
reportIDList: selectedReports?.map((report) => report?.reportID).filter((reportID) => reportID !== undefined) ?? [],
reportIDList: selectedReports.length > 0 ? selectedReportIDs : selectedTransactionReportIDs,
transactionIDList: selectedTransactionsKeys,
},
() => {
Expand All @@ -372,7 +372,7 @@
translate,
);
clearSelectedTransactions(undefined, true);
}, [

Check warning on line 375 in src/pages/Search/SearchPage.tsx

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

React Hook useCallback has missing dependencies: 'selectedReportIDs' and 'selectedTransactionReportIDs'. Either include them or remove the dependency array
isOffline,
areAllMatchingItemsSelected,
showConfirmModal,
Expand Down
Loading