refine icon indicating copy to clipboard operation
refine copied to clipboard

[BUG] `<AutoSaveIndicator />` throws warning for `key` prop

Open aliemir opened this issue 1 year ago • 0 comments

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

  1. Enable autoSave prop in useForm
  2. Use <AutoSaveIndicator /> or pass autoSaveProps to CRUD components.
  3. 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

Additional Context

Screenshot 2024-06-21 at 12 09 02

aliemir avatar Jun 21 '24 09:06 aliemir