From 85eaebfb9b6d12cf68f2b2e93a6efa5b234c1d5a Mon Sep 17 00:00:00 2001 From: fcarraUniSa Date: Wed, 18 Feb 2026 10:30:03 +0100 Subject: [PATCH] Update ClientPortal.tsx --- components/ClientPortal.tsx | 45 +++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 22 deletions(-) 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) =>