From a21de320773fbeef7cf23455fd1f571d3da6a2e9 Mon Sep 17 00:00:00 2001 From: l0ng-ai Date: Mon, 23 Nov 2026 19:38:19 +0800 Subject: [PATCH] fix(editor): give the top and bottom breadcrumbs distinct keys (#5463) The top and bottom breadcrumb bars are keyed separately, so Markdown and HTML tabs no longer log React's duplicate key error. --- src/editor/core/view/EditorArea.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/editor/core/view/EditorArea.tsx b/src/editor/core/view/EditorArea.tsx index 228bf43fc..3c46ca12e 100644 --- a/src/editor/core/view/EditorArea.tsx +++ b/src/editor/core/view/EditorArea.tsx @@ -507,7 +507,13 @@ function PaneContent({ paneId, tab, tabsVisible }: { paneId: string; tab: Tab; t )} {crumbs && ( - + )} {wrapper ? (