pages
This commit is contained in:
parent
7b851b8b9d
commit
4cb4f563c8
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user