fix(ui/schema): error handling add (#9952)

This commit is contained in:
Aseem Bansal 2024-02-28 20:05:30 +05:30 committed by GitHub
parent 1736edf8f5
commit 3b735556fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,7 +78,7 @@ export const SchemaTab = ({ properties }: { properties?: any }) => {
const hasProperties = useMemo(
() =>
entityWithSchema?.schemaMetadata?.fields.some(
entityWithSchema?.schemaMetadata?.fields?.some(
(schemaField) => !!schemaField.schemaFieldEntity?.structuredProperties?.properties?.length,
),
[entityWithSchema],