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 cd653be commit 37c550a
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 @@ -85,7 +85,7 @@ function ResettableTextField({
...restClasses
} = classes;

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

return (
<MuiTextField
Expand Down

0 comments on commit 37c550a

Please sign in to comment.