Skip to content

Commit 98493a1

Browse files
committed
Fix flow error
1 parent 9965ccf commit 98493a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/formBuilder/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ export function generateSchemaFromElementProps(
784784
newSchema.dependencies = dependencies;
785785
newSchema.required = elementArr
786786
.filter(({ required, dependent }) => required && !dependent)
787-
.map<string>(({ name }) => name);
787+
.map(({ name }) => name);
788788

789789
return newSchema;
790790
}

0 commit comments

Comments
 (0)