This commit is contained in:
Samy Pessé
2023-10-30 19:03:15 -04:00
parent 55464029d4
commit 2e28affa93
+1 -1
View File
@@ -61,7 +61,7 @@ export function Heading(props: BlockProps<DocumentBlockHeading>) {
);
}
const TAGS: { [type in DocumentBlockHeading['type']]: string } = {
const TAGS: { [type in DocumentBlockHeading['type']]: React.ElementType } = {
// The h1 is reserved for the page title
'heading-1': 'h2',
'heading-2': 'h3',