Skip to content

Commit

Permalink
Merge pull request #4190 from marmelab/fix-formwithredirect-compilati…
Browse files Browse the repository at this point in the history
…on-bug

Fix unexpected token in FormWithRedirect
  • Loading branch information
djhi authored Dec 19, 2019
2 parents d45ea11 + dc75a71 commit 66e3eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-core/src/form/FormWithRedirect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const FormWithRedirect = ({
form,
initialValuesEqual,
keepDirtyOnReinitialize = true,
mutators = { ...arrayMutators },
mutators = arrayMutators as any, // FIXME see https://github.com/final-form/react-final-form/issues/704 and https://github.com/microsoft/TypeScript/issues/35771
record,
render,
save,
Expand Down

0 comments on commit 66e3eeb

Please sign in to comment.