chore: fix lint error

This commit is contained in:
Pablo Lara
2024-08-19 16:55:00 +02:00
parent 33a5556b8a
commit d714213cc2
+4 -2
View File
@@ -35,12 +35,14 @@ Alert.displayName = "Alert";
const AlertTitle = React.forwardRef<
HTMLParagraphElement,
React.HTMLAttributes<HTMLHeadingElement>
>(({ className, ...props }, ref) => (
>(({ className, children, ...props }, ref) => (
<h5
ref={ref}
className={cn("mb-1 font-medium leading-none tracking-tight", className)}
{...props}
/>
>
{children}
</h5>
));
AlertTitle.displayName = "AlertTitle";