Skip to content

Commit

Permalink
Fix pure types.
Browse files Browse the repository at this point in the history
  • Loading branch information
asvarcas committed May 7, 2020
1 parent 0c3cb01 commit 6479d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-ui-materialui/src/field/ArrayField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export const ArrayField: FunctionComponent<
});
};

const EnhancedArrayField = pure<FieldProps>(ArrayField);
const EnhancedArrayField = pure<ArrayFieldProps & FieldProps>(ArrayField);

EnhancedArrayField.defaultProps = {
addLabel: true,
Expand Down

0 comments on commit 6479d1a

Please sign in to comment.