From a0ce79d7bc4e7432bc1413bc8a46be1cf3eb6070 Mon Sep 17 00:00:00 2001 From: David Radley Date: Wed, 19 Jan 2022 15:48:39 +0000 Subject: [PATCH] git325 remove commented out code Signed-off-by: David Radley --- .../components/update/UpdateNode.js | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/cra-client/src/components/GlossaryAuthor/components/update/UpdateNode.js b/cra-client/src/components/GlossaryAuthor/components/update/UpdateNode.js index 3d4459d1..cd68815f 100644 --- a/cra-client/src/components/GlossaryAuthor/components/update/UpdateNode.js +++ b/cra-client/src/components/GlossaryAuthor/components/update/UpdateNode.js @@ -340,25 +340,7 @@ export default function UpdateNode(props) { // go back history.goBack(); }; - // const onUpdated = (payLoad) => { - // setUpdateBody(payLoad); - // // if (payLoad.node !== undefined) { - // // const nodeTypeName = payLoad.node.nodeType.toLowerCase(); - // // const nodeType = getNodeType( - // // identificationContext.getRestURL("glossary-author"), - // // nodeTypeName - // // ); - // // instancesContext.updateNodeInstance(payLoad.node, nodeType); - // // } - // // if (payLoad.relationship !== undefined) { - // // const relationshipTypeName = - // // payLoad.relationship.relationshipType.toLowerCase(); - // // instancesContext.updateRelationshipInstance( - // // payLoad.relationship, - // // payLoad.relationship.relationshipTypeName - // // ); - // // } - // }; + return (
{currentNode === undefined && nodeType && initialGet()}