diff --git a/src/components/reports/HighlightsTopTransactionsList.tsx b/src/components/reports/HighlightsTopTransactionsList.tsx index 06fe732..07ca79a 100644 --- a/src/components/reports/HighlightsTopTransactionsList.tsx +++ b/src/components/reports/HighlightsTopTransactionsList.tsx @@ -5,6 +5,7 @@ export interface HighlightsTopTransactionsListProps { transactions: RecentTransaction[]; windowDays: 30 | 60 | 90; onWindowChange: (days: 30 | 60 | 90) => void; + onContextMenuRow?: (event: React.MouseEvent, transaction: RecentTransaction) => void; } function formatAmount(amount: number, language: string): string { @@ -18,6 +19,7 @@ export default function HighlightsTopTransactionsList({ transactions, windowDays, onWindowChange, + onContextMenuRow, }: HighlightsTopTransactionsListProps) { const { t, i18n } = useTranslation(); @@ -50,7 +52,11 @@ export default function HighlightsTopTransactionsList({ ) : (