Skip to content

Commit

Permalink
remove handleRowClick
Browse files Browse the repository at this point in the history
  • Loading branch information
keturiosakys committed Jun 10, 2024
1 parent fc4d19d commit aed23b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/ui/DataTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function DataTable<TData, TValue>({
const selectedRow = rows[selectedRowIndex];
handleRowClick?.(selectedRow);
}
}, [selectedRowIndex, rows, handleRowClick]);
}, [selectedRowIndex, rows]);

useKeySequence(["j"], handleNextRow);
useKeySequence(["k"], handlePrevRow);
Expand Down

0 comments on commit aed23b9

Please sign in to comment.