Skip to content

Commit

Permalink
fix(ts): ignore ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
ribeirojose committed Mar 19, 2024
1 parent 241a6be commit f85dce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FormBuilder/buildForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export function buildForm(
index = 0,
customComponents: { [key: string]: FieldComponentType } = {}
) {
// @ts-ignore
const formElements = fields.map((field) => {
// @ts-ignore
const FieldComponent: FieldComponentType | undefined =
field?.component ||
{ ...fieldComponents, ...customComponents }[field.type];
Expand Down

0 comments on commit f85dce3

Please sign in to comment.