This commit is contained in:
alma 2026-01-11 23:12:09 +01:00
parent 7b851b8b9d
commit 4cb4f563c8

View File

@ -169,9 +169,9 @@ export const NotesView: React.FC<NotesViewProps> = ({
<div className="p-4 text-center text-carnet-text-muted">Aucune note</div>
) : (
<ul className="divide-y divide-carnet-border">
{sortNotes(notes).map((note) => (
{sortNotes(notes).map((note, index) => (
<li
key={note.id}
key={note.id || `note-${index}`}
onMouseEnter={() => setHoveredNote(note.id)}
onMouseLeave={() => setHoveredNote(null)}
className="p-4 hover:bg-carnet-hover cursor-pointer group"