@@ -19,8 +19,6 @@ import ComponentMap from './ComponentMap';
19
19
import { changeView , changeSlider } from '../actions/actions' ;
20
20
import { useStoreContext } from '../store' ;
21
21
import PerformanceVisx from './PerformanceVisx' ;
22
- import Legend from './AtomsRelationshipLegend' ;
23
- import AtomsRelationship from './AtomsRelationship' ;
24
22
import WebMetrics from './WebMetrics' ;
25
23
26
24
const History = require ( './History' ) . default ;
@@ -95,20 +93,6 @@ const StateRoute = (props: StateRouteProps) => {
95
93
return < div className = "noState" > { NO_STATE_MSG } </ div > ;
96
94
} ;
97
95
98
- const renderAtomsRelationship = ( ) => (
99
- < ParentSize >
100
- { ( { width, height } ) => (
101
- < >
102
- < AtomsRelationship
103
- width = { width }
104
- height = { height }
105
- snapshots = { snapshots }
106
- />
107
- </ >
108
- ) }
109
- </ ParentSize >
110
- ) ;
111
-
112
96
// the hierarchy gets set on the first click in the page
113
97
// when the page is refreshed we may not have a hierarchy, so we need to check if hierarchy was initialized
114
98
// if true invoke render Tree with snapshot
@@ -242,7 +226,6 @@ const StateRoute = (props: StateRouteProps) => {
242
226
< Switch >
243
227
< Route path = "/performance" render = { renderPerfView } />
244
228
< Route path = "/history" render = { renderHistory } />
245
- < Route path = "/relationship" render = { renderAtomsRelationship } />
246
229
< Route path = "/webMetrics" render = { renderWebMetrics } />
247
230
< Route path = "/tree" render = { renderTree } />
248
231
< Route path = "/" render = { renderComponentMap } />
0 commit comments