File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,11 @@ const MetricsTable = (props) => {
264264 { page . map ( ( row , rowIndex ) => {
265265 prepareRow ( row ) ;
266266 return (
267- < tr className = { rowStyles } { ...row . getRowProps ( ) } key = { `row-${ row . original . id } -${ rowIndex } ` } >
267+ < tr
268+ className = { rowStyles }
269+ { ...row . getRowProps ( ) }
270+ key = { `row-${ row . original . id } -${ rowIndex } ` }
271+ >
268272 { row . cells . map ( ( cell , cellIndex ) => (
269273 < td
270274 key = { `cell-${ row . original . id } -${ cell . column . id } -${ cellIndex } ` }
Original file line number Diff line number Diff line change @@ -47,7 +47,10 @@ const Sent = (props) => {
4747 id : "task_id" ,
4848 Header : "Task ID" ,
4949 accessor : "taskId" ,
50- Cell : ( { value, row } ) => value ? < Link to = { `challenge/${ row . original . challengeId } /task/${ value } ` } > { value } </ Link > : null ,
50+ Cell : ( { value, row } ) =>
51+ value ? (
52+ < Link to = { `challenge/${ row . original . challengeId } /task/${ value } ` } > { value } </ Link >
53+ ) : null ,
5154 Filter : ( { column : { filterValue, setFilter } } ) => (
5255 < div className = "mr-flex mr-items-center" onClick = { ( e ) => e . stopPropagation ( ) } >
5356 < SearchFilter
@@ -427,7 +430,11 @@ const Sent = (props) => {
427430 { filteredRows . map ( ( row , rowIndex ) => {
428431 prepareRow ( row ) ;
429432 return (
430- < tr className = { rowStyles } { ...row . getRowProps ( ) } key = { `row-${ row . original . id || row . id } -${ rowIndex } ` } >
433+ < tr
434+ className = { rowStyles }
435+ { ...row . getRowProps ( ) }
436+ key = { `row-${ row . original . id || row . id } -${ rowIndex } ` }
437+ >
431438 { row . cells . map ( ( cell , cellIndex ) => (
432439 < td
433440 key = { `cell-${ row . original . id || row . id } -${ cell . column . id } -${ cellIndex } ` }
You can’t perform that action at this time.
0 commit comments