fix: correct className usage in badge component

This commit is contained in:
2026-05-26 16:18:29 +02:00
parent cfb4c8a611
commit 73256f32c4
+1 -1
View File
@@ -42,7 +42,7 @@
this={href ? 'a' : 'span'}
bind:this={ref}
{href}
class={cn(badgeVariants({ variant, className }))}
class={cn(badgeVariants({ variant }), className)}
{...restProps}
>
{@render children?.()}