File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
src/app/components/StateRoute/AxMap Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -318,14 +318,6 @@ export default function AxTree(props) {
318
318
populateNodeAxArr ( rootAxNode ) ;
319
319
console . log ( 'nodeAxArr: ' , nodeAxArr ) ;
320
320
321
- const {
322
- containerRef // Access to the container's bounding box. This will be empty on first render.
323
- } = useTooltipInPortal ( {
324
- // Visx hook
325
- detectBounds : true , // use TooltipWithBounds
326
- scroll : true , // when tooltip containers are scrolled, this will correctly update the Tooltip position
327
- } ) ;
328
-
329
321
// ax Legend
330
322
const { axLegendButtonClicked } = useSelector ( ( state : RootState ) => state . axLegend ) ;
331
323
const dispatch = useDispatch ( ) ;
@@ -614,7 +606,7 @@ export default function AxTree(props) {
614
606
< strong > { JSON . stringify ( tooltipData [ 'name' ] . value ) } </ strong >
615
607
</ div >
616
608
< div >
617
- < ToolTipDataDisplay containerName = 'Ax State ' dataObj = { tooltipData } />
609
+ < ToolTipDataDisplay containerName = 'Ax Node Info ' dataObj = { tooltipData } />
618
610
{ /* <ToolTipDataDisplay containerName='State'dataObj={tooltipData}/> */ }
619
611
</ div >
620
612
</ div >
You can’t perform that action at this time.
0 commit comments