Skip to content

Commit 76f67d7

Browse files
committed
fix: linting errors
1 parent 0efa877 commit 76f67d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/ui/table.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export function TableHead(props: TableHeadProps) {
6767
<th
6868
data-slot='table-head'
6969
className={cn(
70-
'h-12 px-3 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0',
70+
'h-12 px-3 text-left align-middle font-medium whitespace-nowrap text-foreground has-[[role=checkbox]]:pr-0',
7171
className,
7272
)}
7373
{...rest}
@@ -83,7 +83,7 @@ export function TableCell(props: TableCellProps) {
8383
return (
8484
<td
8585
data-slot='table-cell'
86-
className={cn('p-3 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0', className)}
86+
className={cn('p-3 align-middle whitespace-nowrap has-[[role=checkbox]]:pr-0', className)}
8787
{...rest}
8888
/>
8989
)

0 commit comments

Comments
 (0)