Incorporate review comments.

This commit is contained in:
Pravesh Sharma
2022-12-14 15:53:19 +05:30
committed by GitHub
parent 3f0eee4c39
commit cc9d519fac
2 changed files with 3 additions and 3 deletions

View File

@@ -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 */