File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/app/components/StateRoute/ComponentMap Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ export default function ComponentMap({
5757 const [ selectedNode , setSelectedNode ] = useState ( 'root' ) ; // We create a local state "selectedNode" and set it to a string 'root'.
5858 const dispatch = useDispatch ( ) ;
5959
60+ console . log ( 'totalHeight: ' , totalHeight ) ;
61+
6062 const toolTipTimeoutID = useRef ( null ) ; //useRef stores stateful data that’s not needed for rendering.
6163
6264 useEffect ( ( ) => {
@@ -182,6 +184,10 @@ export default function ComponentMap({
182184
183185 findSelectedNode ( ) ; // locates the rootNode... do we really need this? This function is only used once... it's here.
184186
187+ console . log ( 'startNode:' , startNode ) ;
188+ console . log ( 'nodelist:' , nodeList ) ;
189+ console . log ( 'nodelist length:' , nodeList . length ) ;
190+
185191 // controls for the map
186192 const LinkComponent : React . ComponentType < unknown > = getLinkComponent ( {
187193 layout,
You can’t perform that action at this time.
0 commit comments