refine
refine copied to clipboard
[BUG] `<AutoSaveIndicator />` throws warning for `key` prop
Describe the bug
When using the auto save feature, <AutoSaveIndicator /> component from UI packages are logging errors about the usage of reserved key prop in the console. This is caused by the component itself rather than the code in the user space.
This error also causes issues when using i18nProvider to localize the message.
Steps To Reproduce
- Enable
autoSaveprop inuseForm - Use
<AutoSaveIndicator />or passautoSavePropsto CRUD components. - Check console to see the error
Expected behavior
<AutoSaveIndicator /> to not log any errors to the console which also causes issues when using it with i18nProvider
Packages
@refinedev/core@refinedev/antd@refinedev/mui@refinedev/mantine@refinedev/chakra-ui