Skip to content

Commit

Permalink
feat: fix for column grouping (shadcn-ui#945)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lantianyou authored Nov 12, 2023
1 parent 1db90ba commit 08018ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/www/app/examples/tasks/components/data-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function DataTable<TData, TValue>({
<TableRow key={headerGroup.id}>
{headerGroup.headers.map((header) => {
return (
<TableHead key={header.id}>
<TableHead key={header.id} colSpan={header.colSpan}>
{header.isPlaceholder
? null
: flexRender(
Expand Down

0 comments on commit 08018ed

Please sign in to comment.