What you were expecting:
Using a <CloneButton /> inside an <Toolbar /> from an Edit view should not trigger any React warnings
What happened instead:
Lots of warnings about unkown props passed by the <Toolbar />
Steps to reproduce:
Using a <CloneButton /> inside an <Toolbar /> from an Edit view .
Related code:
https://github.com/marmelab/react-admin/blob/master/packages/ra-ui-materialui/src/button/CloneButton.js#L25
Environment
- React-admin version: 2.6.1
- Last version that did not exhibit the issue (if applicable):
What you were expecting:
Using a
<CloneButton />inside an<Toolbar />from anEditview should not trigger any React warningsWhat happened instead:
Lots of warnings about unkown props passed by the
<Toolbar />Steps to reproduce:
Using a
<CloneButton />inside an<Toolbar />from anEditview .Related code:
https://github.com/marmelab/react-admin/blob/master/packages/ra-ui-materialui/src/button/CloneButton.js#L25
Environment