Skip to content

Commit

Permalink
Fix failed tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
asvarcas committed Oct 30, 2019
1 parent cc8ea82 commit 3cd39f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-ui-materialui/src/input/ResettableTextField.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function ResettableTextField({
...restClasses
} = classes;

const { endAdornment, ...InputPropsWithoutEndAdornment } = InputProps;
const { endAdornment, ...InputPropsWithoutEndAdornment } = InputProps || {};

return (
<MuiTextField
Expand Down

0 comments on commit 3cd39f2

Please sign in to comment.