Skip to content

Commit

Permalink
fix: custom keyword duplicate error (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
mengshang918 committed Dec 30, 2021
1 parent fab9052 commit afcaa7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/src/schemaHandle/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ const parseUnitedSchema = (
...uiSchema,
},
typePath,
...(customProps.length > 0 && { customProps }),
...(customProps.length > 0 && { customProps: [...new Set(customProps)] }),
}
}

Expand Down

0 comments on commit afcaa7d

Please sign in to comment.