diff --git a/apps/www/src/lib/registry/default/example/DataTableDemo.vue b/apps/www/src/lib/registry/default/example/DataTableDemo.vue index edb18c80..e6e8a194 100644 --- a/apps/www/src/lib/registry/default/example/DataTableDemo.vue +++ b/apps/www/src/lib/registry/default/example/DataTableDemo.vue @@ -103,7 +103,7 @@ const columns: ColumnDef[] = [ return h(Button, { variant: 'ghost', onClick: () => column.toggleSorting(column.getIsSorted() === 'asc'), - }, ['Email', h(ArrowUpDown, { class: 'ml-2 h-4 w-4' })]) + }, () => ['Email', h(ArrowUpDown, { class: 'ml-2 h-4 w-4' })]) }, cell: ({ row }) => h('div', { class: 'lowercase' }, row.getValue('email')), }, @@ -128,9 +128,9 @@ const columns: ColumnDef[] = [ cell: ({ row }) => { const payment = row.original - return h(DropdownAction, { + return h('div', { class: 'relative' }, h(DropdownAction, { payment, - }) + })) }, }, ] @@ -162,7 +162,7 @@ const table = useVueTable({