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({
57
57
const [ selectedNode , setSelectedNode ] = useState ( 'root' ) ; // We create a local state "selectedNode" and set it to a string 'root'.
58
58
const dispatch = useDispatch ( ) ;
59
59
60
+ console . log ( 'totalHeight: ' , totalHeight ) ;
61
+
60
62
const toolTipTimeoutID = useRef ( null ) ; //useRef stores stateful data that’s not needed for rendering.
61
63
62
64
useEffect ( ( ) => {
@@ -182,6 +184,10 @@ export default function ComponentMap({
182
184
183
185
findSelectedNode ( ) ; // locates the rootNode... do we really need this? This function is only used once... it's here.
184
186
187
+ console . log ( 'startNode:' , startNode ) ;
188
+ console . log ( 'nodelist:' , nodeList ) ;
189
+ console . log ( 'nodelist length:' , nodeList . length ) ;
190
+
185
191
// controls for the map
186
192
const LinkComponent : React . ComponentType < unknown > = getLinkComponent ( {
187
193
layout,
You can’t perform that action at this time.
0 commit comments