From d75cdf13342351cf54e798fc016ed65a64a4a7d7 Mon Sep 17 00:00:00 2001 From: Nicolas Dorseuil Date: Tue, 16 Jun 2026 17:38:12 +0200 Subject: [PATCH] small comment --- .../src/components/StructurePreview/StructurePreview.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/gitbook/src/components/StructurePreview/StructurePreview.tsx b/packages/gitbook/src/components/StructurePreview/StructurePreview.tsx index 1c45abdf5..c0127a05d 100644 --- a/packages/gitbook/src/components/StructurePreview/StructurePreview.tsx +++ b/packages/gitbook/src/components/StructurePreview/StructurePreview.tsx @@ -71,6 +71,8 @@ export function StructurePreview(props: { initialSnapshot: StructurePreviewSnaps return; } + //TODO: we should not pass everything here, we should select only some data as a lot of them are GBO specific + // Maybe only sections title/icon or something like that. TBD setSnapshot(event.data.payload); };