Skip to content

Commit be68e0b

Browse files
Copilothotlong
andcommitted
fix: Correct CardTitle ref type to HTMLHeadingElement
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 113254b commit be68e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/docs/components/ui/card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const CardHeader = React.forwardRef<
2929
CardHeader.displayName = "CardHeader"
3030

3131
const CardTitle = React.forwardRef<
32-
HTMLParagraphElement,
32+
HTMLHeadingElement,
3333
React.HTMLAttributes<HTMLHeadingElement>
3434
>(({ className, ...props }, ref) => (
3535
<h3

0 commit comments

Comments
 (0)