@@ -57,23 +57,22 @@ export default class Timeline extends React.PureComponent<Props> {
5757 * Render one cell to represent the average over the given `workers`
5858 * for the given grid, for the given time.
5959 */
60- private cell ( workers : Worker [ ] , spec : GridSpec , timeIdx : number , isLatest : boolean ) {
60+ private cell ( workers : Worker [ ] , spec : GridSpec , timeIdx : number ) {
6161 const metricIdx = avg ( workers , "metricIdxTotal" , timeIdx )
6262 const style = spec . states [ metricIdx ] ? spec . states [ metricIdx ] . style : { color : "gray" , dimColor : true }
6363
6464 return (
65- < React . Fragment key = { timeIdx } >
66- < Text { ...style } > { this . block . historic } </ Text >
67- < Text dimColor > { isLatest ? this . block . latest : "" } </ Text >
68- </ React . Fragment >
65+ < Text { ...style } key = { timeIdx } >
66+ { this . block . historic }
67+ </ Text >
6968 )
7069 }
7170
7271 /** Render one horizontal array of cells for the given grid */
7372 private cells ( workers : Worker [ ] , spec : GridSpec , nTimes : number , timeStartIdx : number ) {
7473 return Array ( nTimes - timeStartIdx )
7574 . fill ( 0 )
76- . map ( ( _ , idx , A ) => this . cell ( workers , spec , idx + timeStartIdx , idx === A . length - 1 ) )
75+ . map ( ( _ , idx ) => this . cell ( workers , spec , idx + timeStartIdx ) )
7776 }
7877
7978 /** Render the timeline UI for the given grid */
0 commit comments