Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

improve: don't unselect rows when clicking in other rows (#4385)

Akshay Agrawal9adff8b80fad
diff --git a/frontend/src/components/data-table/renderers.tsx b/frontend/src/components/data-table/renderers.tsx
index 9875ad15f8..aa979c762c 100644
--- a/frontend/src/components/data-table/renderers.tsx
+++ b/frontend/src/components/data-table/renderers.tsx
@@ -98,11 +98,6 @@ export function renderTableBody<TData>(
<TableRow
key={row.id}
data-state={row.getIsSelected() && "selected"}
- onClick={() => {
- if (table.getIsSomeRowsSelected()) {
- row.toggleSelected();
- }
- }}
// These classes ensure that empty rows (nulls) still render
className="border-t h-6"
>