Skip to content

Commit

Permalink
clients/datatable: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
emilwidlund committed Nov 12, 2024
1 parent 47ceff9 commit 280c5e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export function DataTable<TData, TValue>({
table.getRowModel().rows.map((row) => (
<TableRow
key={row.id}
className={row.getCanSelect() && 'cursor-pointer'}
className={row.getCanSelect() ? 'cursor-pointer' : ''}
data-state={row.getIsSelected() && 'selected'}
onClick={row.getToggleSelectedHandler()}
>
Expand Down

0 comments on commit 280c5e9

Please sign in to comment.