diff --git a/www/src/components/LinkedHeading.tsx b/www/src/components/LinkedHeading.tsx index 5d0ab88339..01cba4ab3d 100644 --- a/www/src/components/LinkedHeading.tsx +++ b/www/src/components/LinkedHeading.tsx @@ -12,7 +12,7 @@ function LinkedHeading({ h, children, id, -}: ILinkedHeading & JSX.IntrinsicElements['h2']): React.ReactNode { +}: ILinkedHeading & JSX.IntrinsicElements['h2']): JSX.Element { const H = `h${h}` as HeadingTag; return (