From aed23b9244b52f2e79a35796f052f3d777e8a2d9 Mon Sep 17 00:00:00 2001 From: Laurynas Keturakis Date: Mon, 10 Jun 2024 16:00:18 +0200 Subject: [PATCH] remove handleRowClick --- frontend/src/components/ui/DataTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/ui/DataTable.tsx b/frontend/src/components/ui/DataTable.tsx index 1c6fdef29..65dd188f9 100644 --- a/frontend/src/components/ui/DataTable.tsx +++ b/frontend/src/components/ui/DataTable.tsx @@ -95,7 +95,7 @@ export function DataTable({ const selectedRow = rows[selectedRowIndex]; handleRowClick?.(selectedRow); } - }, [selectedRowIndex, rows, handleRowClick]); + }, [selectedRowIndex, rows]); useKeySequence(["j"], handleNextRow); useKeySequence(["k"], handlePrevRow);