@@ -109,7 +109,7 @@ const SimulationSummaryContent = () => {
109109 >
110110 { value }
111111 </ Button > { " " }
112- { " " + ( record . hasScalarData ? record . scalarValue . toPrecision ( 5 ) . toString ( ) : "" ) }
112+ { ` ${ record . hasScalarData ? record . scalarValue . toPrecision ( 5 ) . toString ( ) : "" } ` }
113113 </ >
114114 ) ;
115115 } else {
@@ -144,7 +144,7 @@ const SimulationSummaryContent = () => {
144144 >
145145 { value }
146146 </ Button > { " " }
147- { " " + ( record . hasScalarData ? record . scalarValue . toPrecision ( 5 ) . toString ( ) : "" ) }
147+ { ` ${ record . hasScalarData ? record . scalarValue . toPrecision ( 5 ) . toString ( ) : "" } ` }
148148 </ >
149149 ) ;
150150 } else {
@@ -179,7 +179,7 @@ const SimulationSummaryContent = () => {
179179 >
180180 { value }
181181 </ Button > { " " }
182- { " " + ( record . hasScalarData ? record . scalarValue . toPrecision ( 5 ) . toString ( ) : "" ) }
182+ { ` ${ record . hasScalarData ? record . scalarValue . toPrecision ( 5 ) . toString ( ) : "" } ` }
183183 </ >
184184 ) ;
185185 } else {
@@ -200,7 +200,7 @@ const SimulationSummaryContent = () => {
200200 title : "Name" ,
201201 dataIndex : "name" ,
202202 key : "name" ,
203- render : ( text , record ) => (
203+ render : ( text , _record ) => (
204204 < Row justify = "space-between" >
205205 < Col span = { 8 } > { text } </ Col > { " " }
206206 < Col span = { 2 } >
@@ -212,7 +212,7 @@ const SimulationSummaryContent = () => {
212212 ] ;
213213
214214 const rowSelection : TableRowSelection < Modifier > = {
215- onChange : ( selectedRowKeys , selectedRows ) => {
215+ onChange : ( _selectedRowKeys , selectedRows ) => {
216216 modifiers . forEach ( ( modifier ) => {
217217 modifier . active = selectedRows . indexOf ( modifier ) >= 0 ;
218218 } ) ;
@@ -302,7 +302,7 @@ const SimulationSummaryContent = () => {
302302 {
303303 key : "timeremain" ,
304304 name : "Remaining time" ,
305- value : Math . ceil ( remainingTime ) . toString ( ) + " s" ,
305+ value : ` ${ Math . ceil ( remainingTime ) . toString ( ) } s` ,
306306 } ,
307307 {
308308 key : "tsps" ,
@@ -312,7 +312,7 @@ const SimulationSummaryContent = () => {
312312 {
313313 key : "memory" ,
314314 name : "Memory usage" ,
315- value : ( memoryUsage / 1024 / 1024 ) . toFixed ( 2 ) . toString ( ) + " MB" ,
315+ value : ` ${ ( memoryUsage / 1024 / 1024 ) . toFixed ( 2 ) . toString ( ) } MB` ,
316316 } ,
317317 {
318318 key : "simulationspeed" ,
@@ -341,7 +341,6 @@ const SimulationSummaryContent = () => {
341341 memoryUsage ,
342342 simulationSettings . speed ,
343343 simulationSettings . uiUpdateFrequency ,
344- renderSettings . showSimulationBox ,
345344 ] ) ;
346345
347346 return (
0 commit comments