Skip to content

Commit ef0ea38

Browse files
Samuel  TranSamuel  Tran
authored andcommitted
Scrubbed atom relationship and legend from stateroute file
1 parent 08d0744 commit ef0ea38

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/app/components/StateRoute.tsx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ import ComponentMap from './ComponentMap';
1919
import { changeView, changeSlider } from '../actions/actions';
2020
import { useStoreContext } from '../store';
2121
import PerformanceVisx from './PerformanceVisx';
22-
import Legend from './AtomsRelationshipLegend';
23-
import AtomsRelationship from './AtomsRelationship';
2422
import WebMetrics from './WebMetrics';
2523

2624
const History = require('./History').default;
@@ -95,20 +93,6 @@ const StateRoute = (props: StateRouteProps) => {
9593
return <div className="noState">{NO_STATE_MSG}</div>;
9694
};
9795

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-
11296
// the hierarchy gets set on the first click in the page
11397
// when the page is refreshed we may not have a hierarchy, so we need to check if hierarchy was initialized
11498
// if true invoke render Tree with snapshot
@@ -242,7 +226,6 @@ const StateRoute = (props: StateRouteProps) => {
242226
<Switch>
243227
<Route path="/performance" render={renderPerfView} />
244228
<Route path="/history" render={renderHistory} />
245-
<Route path="/relationship" render={renderAtomsRelationship} />
246229
<Route path="/webMetrics" render={renderWebMetrics} />
247230
<Route path="/tree" render={renderTree} />
248231
<Route path="/" render={renderComponentMap} />

0 commit comments

Comments
 (0)