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;