Skip to content

Commit

Permalink
Fix unexpected token in FormWithRedirect
Browse files Browse the repository at this point in the history
Caused by TypeScript bug microsoft/TypeScript#35771

Refs #4116
  • Loading branch information
fzaninotto committed Dec 19, 2019
1 parent d45ea11 commit dc75a71
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 dc75a71

Please sign in to comment.