diff --git a/web/pgadmin/browser/static/js/node_view.jsx b/web/pgadmin/browser/static/js/node_view.jsx index 455ccf787..d44188451 100644 --- a/web/pgadmin/browser/static/js/node_view.jsx +++ b/web/pgadmin/browser/static/js/node_view.jsx @@ -207,6 +207,7 @@ export function getNodeView(nodeType, treeNodeInfo, actionType, itemNodeData, fo ReactDOM.render( , container); } diff --git a/web/pgadmin/static/js/SchemaView/index.jsx b/web/pgadmin/static/js/SchemaView/index.jsx index da4ca7d25..b84d1e8aa 100644 --- a/web/pgadmin/static/js/SchemaView/index.jsx +++ b/web/pgadmin/static/js/SchemaView/index.jsx @@ -866,7 +866,7 @@ const usePropsStyles = makeStyles((theme)=>({ /* If its the properties tab */ function SchemaPropertiesView({ - getInitData, viewHelperProps, schema={}, itemNodeData, ...props}) { + getInitData, viewHelperProps, schema={}, ...props}) { const classes = usePropsStyles(); let defaultTab = 'General'; let tabs = {}; @@ -888,7 +888,7 @@ function SchemaPropertiesView({ }).catch(()=>{ setLoaderText(''); }); - }, [itemNodeData]); + }, []); /* A simple loop to get all the controls for the fields */