Skip to content

Commit aa7ecaf

Browse files
committed
edited notes: space instead of comma for flexible styling
1 parent ed146f7 commit aa7ecaf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/client/src/widgets/ribbon/EditedNotesTab.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export default function EditedNotesTab({ note }: TabContext) {
1313
useEffect(() => {
1414
if (!note) return;
1515
server.get<EditedNotesResponse>(`edited-notes/${note.getLabelValue("dateNote")}`).then(async editedNotes => {
16-
editedNotes = editedNotes.filter((n) => n.noteId !== note.noteId);
17-
const noteIds = editedNotes.flatMap((n) => n.noteId);
16+
editedNotes = editedNotes.filter((n) => n.noteId !== note.noteId);
17+
const noteIds = editedNotes.flatMap((n) => n.noteId);
1818
await froca.getNotes(noteIds, true); // preload all at once
1919
setEditedNotes(editedNotes);
2020
});
@@ -41,11 +41,11 @@ export default function EditedNotesTab({ note }: TabContext) {
4141
)}
4242
</span>
4343
)
44-
}))}
44+
}), " ")}
4545
</div>
4646
) : (
4747
<div className="no-edited-notes-found">{t("edited_notes.no_edited_notes_found")}</div>
4848
)}
4949
</div>
50-
)
50+
)
5151
}

0 commit comments

Comments
 (0)