fix: pass Heading component to MDXRemote to fix compilation errors

This commit is contained in:
2026-07-20 11:03:17 +02:00
parent 19ccd90070
commit 3ec4c197b9
2 changed files with 2 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ const mdxComponents = {
JsonLd, JsonLd,
Button, Button,
Badge, Badge,
Heading,
AnimatedCounter, AnimatedCounter,
GrowthChart, GrowthChart,
DeepDrillAnimation, DeepDrillAnimation,

View File

@@ -39,6 +39,7 @@ const mdxComponents = {
ul: (props: any) => <ul className="grid grid-cols-1 gap-2 mb-6" {...props} />, ul: (props: any) => <ul className="grid grid-cols-1 gap-2 mb-6" {...props} />,
li: CustomLi, li: CustomLi,
p: (props: any) => <p className="text-neutral-600 text-sm mb-4 leading-relaxed" {...props} />, p: (props: any) => <p className="text-neutral-600 text-sm mb-4 leading-relaxed" {...props} />,
Heading,
}; };
interface PageProps { interface PageProps {