File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ function History(props: Record<string, unknown>) {
154
154
dispatch ( changeSlider ( index ) ) ;
155
155
dispatch ( changeView ( index ) ) ;
156
156
} )
157
+ // think about how I can convert this any to typescript
157
158
. on ( 'mouseout' , function ( d : any ) {
158
159
d3 . select ( this ) . transition ( ) . duration ( 300 ) . attr ( 'r' , 13 ) ;
159
160
} ) ;
@@ -198,7 +199,7 @@ function History(props: Record<string, unknown>) {
198
199
. scaleExtent ( [ 0 , 0.9 ] ) // [zoomOut, zoomIn]
199
200
. on ( 'zoom' , zoomed )
200
201
) ;
201
- // helper function that allows for zooming
202
+ // helper function that allows for zooming ( think about how I can convert this any to typescript)
202
203
function zoomed ( d : any ) {
203
204
g . attr ( 'transform' , d3 . event . transform ) ;
204
205
}
Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ import {
11
11
NavLink ,
12
12
Switch ,
13
13
} from 'react-router-dom' ;
14
+ import { ParentSize } from '@visx/responsive' ;
14
15
import Tree from './Tree' ;
15
16
import ComponentMap from './ComponentMap' ;
16
17
import { changeView , changeSlider } from '../actions/actions' ;
17
18
import { useStoreContext } from '../store' ;
18
19
import PerformanceVisx from './PerformanceVisx' ;
19
20
import Legend from './AtomsRelationshipLegend' ;
20
- import { ParentSize } from '@visx/responsive' ;
21
21
import AtomsRelationship from './AtomsRelationship' ;
22
22
23
23
const History = require ( './History' ) . default ;
You can’t perform that action at this time.
0 commit comments