We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81c3397 commit a811ac9Copy full SHA for a811ac9
src/components/DataTable.tsx
@@ -96,7 +96,7 @@ export function DataTable<TData, TValue>({
96
<TableRow
97
key={row.id}
98
data-state={row.getIsSelected() && 'selected'}
99
- className="cursor-pointer"
+ className={destination ? 'cursor-pointer' : ''}
100
tabIndex={0}
101
onClick={(e) => handleRowClick(destination, e)}
102
onKeyDown={(e) => handleRowKeyDown(destination, e)}
0 commit comments