diff --git a/apps/client/src/widgets/layout/InlineTitle.tsx b/apps/client/src/widgets/layout/InlineTitle.tsx index 6dec10c10..bb043cca2 100644 --- a/apps/client/src/widgets/layout/InlineTitle.tsx +++ b/apps/client/src/widgets/layout/InlineTitle.tsx @@ -328,20 +328,19 @@ function EditedNotes() { function EditedNotesContent({ note }: { note: FNote }) { const editedNotes = useEditedNotes(note); - return ( - <> - {editedNotes?.map(editedNote => ( - - )} - /> - ))} - - ); + return (editedNotes !== undefined && + (editedNotes.length > 0 ? editedNotes?.map(editedNote => ( + + )} + /> + )) : ( +
{t("edited_notes.no_edited_notes_found")}
+ ))); } //#endregion