diff --git a/src/app/components/ComponentMap.tsx b/src/app/components/ComponentMap.tsx index 7c5fde5dd..d1a7074cb 100644 --- a/src/app/components/ComponentMap.tsx +++ b/src/app/components/ComponentMap.tsx @@ -69,7 +69,7 @@ export default function ComponentMap({ const [orientation, setOrientation] = useState('horizontal'); const [linkType, setLinkType] = useState('diagonal'); const [stepPercent, setStepPercent] = useState(10); - const [setTooltip] = useState(false); + const [Tooltip, setTooltip] = useState(false); const [selectedNode, setSelectedNode] = useState('root'); const [, dispatch] = useStoreContext(); diff --git a/src/app/containers/ActionContainer.tsx b/src/app/containers/ActionContainer.tsx index 05f7374a0..2616f05d7 100644 --- a/src/app/containers/ActionContainer.tsx +++ b/src/app/containers/ActionContainer.tsx @@ -202,8 +202,8 @@ function ActionContainer(props): JSX.Element { {/* Rendering of route description components */} - {Object.keys(routes).map(route => ( - ))} + {Object.keys(routes).map((route, i) => ( + ))} ) : null} diff --git a/src/backend/linkFiber.ts b/src/backend/linkFiber.ts index 1e1a1c1ea..4d1c926b5 100644 --- a/src/backend/linkFiber.ts +++ b/src/backend/linkFiber.ts @@ -275,7 +275,7 @@ function createTree( // check to see if we can get the information we were looking for if (tag === 5) { try { - if (memoizedProps.children[0]._owner.memoizedProps !== undefined) { + if (memoizedProps.children[0]._owner?.memoizedProps !== undefined) { const propsData = memoizedProps.children[0]._owner.memoizedProps; const newPropData = convertDataToString(propsData, tree.componentData.props ? tree.componentData.props : null); tree.componentData = {