fix website build
This commit is contained in:
@@ -16,7 +16,7 @@ export default function Heading({ level, children, className = '', style }: Head
|
||||
3: 'text-xl sm:text-2xl'
|
||||
};
|
||||
|
||||
const Tag = `h${level}` as keyof JSX.IntrinsicElements;
|
||||
const Tag = `h${level}` as keyof React.JSX.IntrinsicElements;
|
||||
|
||||
return (
|
||||
<Tag className={`${baseStyles} ${levelStyles[level]} ${className}`} style={style}>
|
||||
|
||||
Reference in New Issue
Block a user