From 5d308c764e46a45f683196ed6d030da95e4cb826 Mon Sep 17 00:00:00 2001 From: Zeno Kapitein Date: Wed, 2 Apr 2025 16:02:20 +0200 Subject: [PATCH] Update AIPageLinkSummary.tsx --- .../src/components/Adaptive/AIPageLinkSummary.tsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/packages/gitbook/src/components/Adaptive/AIPageLinkSummary.tsx b/packages/gitbook/src/components/Adaptive/AIPageLinkSummary.tsx index 3f50c88a2..a7cb3e1a9 100644 --- a/packages/gitbook/src/components/Adaptive/AIPageLinkSummary.tsx +++ b/packages/gitbook/src/components/Adaptive/AIPageLinkSummary.tsx @@ -56,18 +56,21 @@ export function AIPageLinkSummary(props: { }, [currentSpaceId, currentPageId, targetSpaceId, targetPageId]); return ( -
-
+
+
{showTrademark ? ( ) : ( )} -
- Page highlight -
+
Page highlight
- {highlight} + {highlight.length > 0 ?

{highlight}

: null} + {highlight.length > 0 ? ( +
+ Based on your context. May contain mistakes. +
+ ) : null}
); }