Skip to content

Commit a1ef41f

Browse files
Typescript is hard
1 parent b6ad15f commit a1ef41f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/lib/components/ui/button/button.svelte

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,14 @@
1515

1616
<ButtonPrimitive.Root
1717
{builders}
18-
class={`${cn(buttonVariants({ variant, size, className }))} transition-all`}
18+
class={`${cn(
19+
buttonVariants({
20+
variant,
21+
size,
22+
// @ts-ignore
23+
className
24+
})
25+
)} transition-all`}
1926
type="button"
2027
{...$$restProps}
2128
on:click

0 commit comments

Comments
 (0)