Skip to content

Commit

Permalink
Merge pull request #5705 from marmelab/fix-dom-warning-edit-transform
Browse files Browse the repository at this point in the history
Fix DOM warning when using <Edit transform>
  • Loading branch information
djhi committed Jan 4, 2021
2 parents 58c2d77 + e0a4c84 commit df080d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/ra-ui-materialui/src/detail/CreateView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ const sanitizeRestProps = ({
loading = null,
location = null,
match = null,
onFailure = null,
onFailureRef = null,
onSuccess = null,
onSuccessRef = null,
options = null,
permissions = null,
Expand All @@ -157,6 +159,7 @@ const sanitizeRestProps = ({
setOnFailure = null,
setOnSuccess = null,
setTransform = null,
transform = null,
transformRef = null,
...rest
}) => rest;
3 changes: 3 additions & 0 deletions packages/ra-ui-materialui/src/detail/EditView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ const sanitizeRestProps = ({
loading = null,
location = null,
match = null,
onFailure = null,
onFailureRef = null,
onSuccess = null,
onSuccessRef = null,
options = null,
permissions = null,
Expand All @@ -184,6 +186,7 @@ const sanitizeRestProps = ({
setOnSuccess = null,
setTransform = null,
successMessage = null,
transform = null,
transformRef = null,
...rest
}) => rest;

0 comments on commit df080d5

Please sign in to comment.