equal
deleted
inserted
replaced
1 import React, { Component } from 'react'; |
1 import React, { Component } from 'react'; |
2 import '../App.css'; |
2 import '../App.css'; |
3 import './SessionSummary.css' |
3 import './SessionSummary.css' |
4 |
4 |
5 |
|
6 // const SessionSummary = ({notes}) => ( |
|
7 // <ul className="list-group sticky-left"> |
|
8 // {notes.map((note) => |
|
9 // <li className="list-group-item border-0" key={note.get('_id')}> |
|
10 // <a href={'#note-' + note.get('_id')}> |
|
11 // <small className="note-time text-warning bg-success border-0 text-center">{formatTimestamp(note.startedAt)}</small> |
|
12 // <small className="note-length font-weight-bold px-2 text-muted text-center">{_.words(note.plain).length} mots</small> |
|
13 // <small className="note-time text-warning bg-success border-0 text-center">{formatTimestamp(note.finishedAt)}</small> |
|
14 // </a> |
|
15 // </li> |
|
16 // )} |
|
17 // </ul> |
|
18 // ) |
|
19 |
5 |
20 export default class ProtocolSummary extends Component { |
6 export default class ProtocolSummary extends Component { |
21 render() { |
7 render() { |
22 return ( |
8 return ( |
23 <div className="mt-5"> |
9 <div className="mt-5"> |