Skip to content

Commit

Permalink
Fix weird TS error
Browse files Browse the repository at this point in the history
  • Loading branch information
alimpens committed Dec 17, 2024
1 parent 00aedec commit 42a01ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/form-renderer/src/FormRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ type Props = {
}

export const FormRenderer = ({ formData, action }: Props) => (
// @ts-expect-error: 'action' type should get overridden by Next types
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
<form className="ams-gap--md" action={action}>
{formData.map((component) => getComponent(component))}
<SubmitButton>Volgende vraag</SubmitButton>
Expand Down

0 comments on commit 42a01ed

Please sign in to comment.