From 51d39d915d56fbc0406502006cac8bb18aef9eef Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 30 Mar 2025 10:30:42 -0400 Subject: [PATCH] chore: Missing react key in SuggestionMenu --- app/editor/components/SuggestionsMenu.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/editor/components/SuggestionsMenu.tsx b/app/editor/components/SuggestionsMenu.tsx index 897fc12b48..7ce101c1aa 100644 --- a/app/editor/components/SuggestionsMenu.tsx +++ b/app/editor/components/SuggestionsMenu.tsx @@ -645,12 +645,11 @@ function SuggestionsMenu(props: Props) { "section" in item ? item.section?.({ t }) : undefined; const response = ( - <> + {currentHeading !== previousHeading && (
{currentHeading}
)} @@ -659,7 +658,7 @@ function SuggestionsMenu(props: Props) { onClick: () => handleClickItem(item), })} - +
); previousHeading = currentHeading;