Skip to content

Commit 2fb5d4b

Browse files
committed
Fix formatting
1 parent a2061a6 commit 2fb5d4b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

client/src/utils/schemaUtils.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@ export function generateDefaultValue(
9595
}
9696

9797
// Check if this property is required in the parent schema
98-
const isRequired = propertyName && parentSchema ? isPropertyRequired(propertyName, parentSchema) : false;
98+
const isRequired =
99+
propertyName && parentSchema
100+
? isPropertyRequired(propertyName, parentSchema)
101+
: false;
99102

100103
switch (schema.type) {
101104
case "string":

0 commit comments

Comments
 (0)