Skip to content

Commit e5ed2e0

Browse files
functioning StateRoute component, after layering in VisX zoom feature
Co-authored-by: Alex landeros <alexander.landeros1@gmail.com>
1 parent 339b1de commit e5ed2e0

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/app/components/StateRoute.tsx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import ComponentMap from './ComponentMap';
1818
import AtomsRelationship from './AtomsRelationship.jsx';
1919
import PerformanceVisx from './PerformanceVisx';
2020
import ZoomI from './zoomFt';
21+
// import History from './History'
2122

2223
import { changeView, changeSlider } from '../actions/actions';
2324
import { useStoreContext } from '../store';
@@ -84,16 +85,14 @@ const StateRoute = (props: StateRouteProps) => {
8485
<div>
8586
<ParentSize>
8687
{({ width, height }) => (
87-
<ZoomI>
88-
<History
89-
width={width}
90-
height={height}
91-
hierarchy={hierarchy}
92-
dispatch={dispatch}
93-
sliderIndex={sliderIndex}
94-
viewIndex={viewIndex}
95-
/>
96-
</ZoomI>
88+
<History
89+
width={width}
90+
height={height}
91+
hierarchy={hierarchy}
92+
dispatch={dispatch}
93+
sliderIndex={sliderIndex}
94+
viewIndex={viewIndex}
95+
/>
9796
)}
9897
</ParentSize>
9998
</div>

0 commit comments

Comments
 (0)