fix: correct className usage in badge component
This commit is contained in:
1 parent
cfb4c8a611
commit
73256f32c4
1 file changed
+1
-1
@@ -42,7 +42,7 @@
|
|||||||
this={href ? 'a' : 'span'}
|
this={href ? 'a' : 'span'}
|
||||||
bind:this={ref}
|
bind:this={ref}
|
||||||
{href}
|
{href}
|
||||||
class={cn(badgeVariants({ variant, className }))}
|
class={cn(badgeVariants({ variant }), className)}
|
||||||
{...restProps}
|
{...restProps}
|
||||||
>
|
>
|
||||||
{@render children?.()}
|
{@render children?.()}
|
||||||
|
|||||||
Reference in new issue
Block a user