update: fix warning on component card shadcn

This commit is contained in:
abiyasa05 2024-11-15 09:27:53 +07:00
parent d3da289363
commit 866c977062

View File

@ -48,7 +48,7 @@ const CardDescription = React.forwardRef<
HTMLParagraphElement,
React.HTMLAttributes<HTMLParagraphElement>
>(({ className, ...props }, ref) => (
<p
<div
ref={ref}
className={cn("text-sm text-muted-foreground", className)}
{...props}