Skip to content

Commit

Permalink
Update data table to show no errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hansiboy1999 committed Jan 28, 2025
1 parent 117f630 commit 0d218b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
let { checked, ...restProps }: WithoutChildrenOrChild<CheckboxPrimitive.RootProps> = $props();
</script>

<Checkbox {checked} controlledChecked {...restProps} />
<Checkbox {checked} {...restProps} />
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
<DropdownMenu.Separator />
{#each columns as column}
<DropdownMenu.CheckboxItem
controlledChecked
checked={column.getIsVisible()}
onCheckedChange={(v) => column.toggleVisibility(!!v)}
class="capitalize"
Expand Down

0 comments on commit 0d218b3

Please sign in to comment.