diff --git a/components/ClientPortal.tsx b/components/ClientPortal.tsx index 03225f4..3a9f64d 100644 --- a/components/ClientPortal.tsx +++ b/components/ClientPortal.tsx @@ -41,20 +41,21 @@ interface ClientPortalProps { } // Configurazione stili per ReactMarkdown +// Estraiamo 'node' dai props per non passarlo al componente DOM, evitando warning di React const MarkdownComponents = { - h1: (props: any) =>

, - h2: (props: any) =>

, - h3: (props: any) =>

, - p: (props: any) =>

, - ul: (props: any) =>