equal
deleted
inserted
replaced
5 const Note = ({note}) => { |
5 const Note = ({note}) => { |
6 return ( |
6 return ( |
7 <div id={"note-" + note._id} className="note"> |
7 <div id={"note-" + note._id} className="note"> |
8 <span className="start">{formatTimestamp(note.startedAt)}</span> |
8 <span className="start">{formatTimestamp(note.startedAt)}</span> |
9 <span className="finish">{formatTimestamp(note.finishedAt)}</span> |
9 <span className="finish">{formatTimestamp(note.finishedAt)}</span> |
10 <div dangerouslySetInnerHTML={{ __html: note.html }} /> |
10 <div className="note-content" dangerouslySetInnerHTML={{ __html: note.html }} /> |
|
11 <div className="note-margin-comment"> |
|
12 <small className="text-muted">{ note.marginComment }</small> |
|
13 </div> |
11 </div> |
14 </div> |
12 ); |
15 ); |
13 }; |
16 }; |
14 |
17 |
15 Note.propTypes = { |
18 Note.propTypes = { |