chore(react/ribbon): fix some more crashes when rapidly switching tabs

This commit is contained in:
Elian Doran
2025-08-24 20:31:39 +03:00
parent 1e9b772692
commit 7c86f90ac6
3 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ export default function EditedNotesTab({ note }: TabContext) {
width: "100%",
overflow: "auto"
}}>
{editedNotes ? (
{editedNotes?.length ? (
<div className="edited-notes-list use-tn-links">
{joinElements(editedNotes.map(editedNote => {
return (