File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,11 @@ const ComponentMap = (props: componentMapProps) => {
24
24
let lastSnap : number | null = null ;
25
25
if ( viewIndex < 0 ) lastSnap = snapshots . length - 1 ;
26
26
else lastSnap = viewIndex ;
27
- console . log ( 'inside ComnponentMap, snapshots:' , snapshots )
28
- console . log ( 'lastSnap:' , lastSnap )
29
27
//external constants
30
28
const width : any = '100vw' ;
31
29
const height : any = '100vh' ;
32
30
let data : Object = snapshots [ lastSnap ] ;
33
- console . log ( 'INSIDE OF COMPONENTMAP, data:' , data ) ;
31
+
34
32
useEffect ( ( ) => {
35
33
document . getElementById ( 'canvas' ) . innerHTML = '_' ;
36
34
setZoomState ( d3 . zoomTransform ( d3 . select ( '#canvas' ) . node ( ) ) ) ;
@@ -149,7 +147,7 @@ const ComponentMap = (props: componentMapProps) => {
149
147
150
148
//TODO -> Alter incoming snapshots so there is useful data to show on hover.
151
149
nodeEnter . on ( 'mouseover' , function ( d : any , i : number ) : any {
152
- console . log ( 'mousing over' )
150
+ //onHover is an action in progress
153
151
dispatch ( onHover ( ) ) ;
154
152
d3 . select ( this )
155
153
. append ( 'text' )
You can’t perform that action at this time.
0 commit comments