--- a/client/src/components/SessionSummary.js Tue Oct 09 19:07:47 2018 +0200
+++ b/client/src/components/SessionSummary.js Mon Oct 08 18:35:47 2018 +0200
@@ -7,8 +7,8 @@
const SessionSummary = ({notes}) => (
<ul className="list-group sticky-left">
{notes.map((note) =>
- <li className="list-group-item border-0" key={note.get('_id')}>
- <a href={'#note-' + note.get('_id')}>
+ <li className="list-group-item border-0" key={note._id}>
+ <a href={'#note-' + note._id}>
<small className="note-time text-warning bg-success border-0 text-center">{formatTimestamp(note.startedAt)}</small>
<small className="note-length font-weight-bold px-2 text-muted text-center">{_.words(note.plain).length} mots</small>
<small className="note-time text-warning bg-success border-0 text-center">{formatTimestamp(note.finishedAt)}</small>