From 103de8d2636d9bc637a81211d3230bd8a0351f5b Mon Sep 17 00:00:00 2001 From: fantasticit Date: Mon, 28 Nov 2022 09:42:15 +0800 Subject: [PATCH] fix key --- packages/client/src/tiptap/editor/tocs/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/tiptap/editor/tocs/index.tsx b/packages/client/src/tiptap/editor/tocs/index.tsx index 734a23ab..265bee73 100644 --- a/packages/client/src/tiptap/editor/tocs/index.tsx +++ b/packages/client/src/tiptap/editor/tocs/index.tsx @@ -161,7 +161,7 @@ export const Tocs: React.FC<{ editor: Editor; getContainer: () => HTMLElement }> ? headings.map((toc) => { return ( @@ -171,7 +171,7 @@ export const Tocs: React.FC<{ editor: Editor; getContainer: () => HTMLElement }> /> ); }) - : nestedHeadings.map((toc) => )} + : nestedHeadings.map((toc) => )} );