@@ -232,7 +232,6 @@ const PerformanceVisx = (props: BarStackProps) => {
232
232
233
233
const allRoutes = [ ] ;
234
234
const filteredSnapshots = [ ] ;
235
- const copyOfBars = [ ] ;
236
235
237
236
for ( let i = 0 ; i < data . barStack . length ; i += 1 ) {
238
237
const url = new URL ( data . barStack [ i ] . route ) ;
@@ -244,15 +243,9 @@ const PerformanceVisx = (props: BarStackProps) => {
244
243
}
245
244
}
246
245
if ( route ) {
247
- // copyOfBars = data.barStack;
248
246
data . barStack = filteredSnapshots ;
249
247
}
250
- // console.log('Data', data);
251
- // console.log('URL is ', url);
252
- console . log ( 'data.barStack is ' , data . barStack ) ;
253
- console . log ( 'filtered snapshots are ' , filteredSnapshots ) ;
254
- // console.log('AllRoutes', allRoutes);
255
-
248
+
256
249
const renderBargraph = ( ) => {
257
250
if ( hierarchy ) {
258
251
return (
@@ -264,17 +257,13 @@ const PerformanceVisx = (props: BarStackProps) => {
264
257
comparison = { allStorage ( ) }
265
258
setRoute = { setRoute }
266
259
allRoutes = { allRoutes }
267
- copyOfBars = { copyOfBars }
268
260
filteredSnapshots = { filteredSnapshots }
269
261
/>
270
262
</ div >
271
263
) ;
272
264
}
273
265
} ;
274
266
275
- console . log ( 'data' , data )
276
-
277
-
278
267
const renderComponentDetailsView = ( ) => {
279
268
if ( hierarchy ) {
280
269
return < RenderingFrequency data = { data . componentData } /> ;
@@ -294,7 +283,6 @@ const PerformanceVisx = (props: BarStackProps) => {
294
283
< div className = "performance-nav-bar-container" >
295
284
< NavLink
296
285
className = "router-link-performance"
297
- // className="router-link"
298
286
activeClassName = "is-active"
299
287
exact
300
288
to = "/"
@@ -304,15 +292,13 @@ const PerformanceVisx = (props: BarStackProps) => {
304
292
< NavLink
305
293
className = "router-link-performance"
306
294
id = "router-link-performance-comparison"
307
- // className="router-link"
308
295
activeClassName = "is-active"
309
296
to = "/comparison"
310
297
>
311
298
Comparison View
312
299
</ NavLink >
313
300
< NavLink
314
301
className = "router-link-performance"
315
- // className="router-link"
316
302
activeClassName = "is-active"
317
303
to = "/componentdetails"
318
304
>
0 commit comments