refinedev / refine

A React Framework for building internal tools, admin panels, dashboards & B2B apps with unmatched flexibility.
https://refine.dev
MIT License
25.92k stars 1.96k forks source link

fix(auto-save-indicator): rename key prop to translationKey #6064

Closed aliemir closed 5 days ago

aliemir commented 1 week ago

PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features

Changes

<AutoSaveIndicator /> components from UI libraries have been using a <Message /> component internally that uses a key prop. Since key is a reserved prop in React, it was causing a warning in the console. This change replaces the key prop with translationKey to avoid the warning.

Resolves #6067

changeset-bot[bot] commented 1 week ago

🦋 Changeset detected

Latest commit: d19253dd8e9cbae48bc8233ef6acc20ea6ca1065

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages | Name | Type | | -------------------- | ----- | | @refinedev/chakra-ui | Patch | | @refinedev/mantine | Patch | | @refinedev/antd | Patch | | @refinedev/core | Patch | | @refinedev/mui | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

cypress[bot] commented 1 week ago

Passing run #11221 ↗︎

0 381 37 0 Flakiness 0

Details:

Merge d19253dd8e9cbae48bc8233ef6acc20ea6ca1065 into 030111dc6a4c690356b7ff2ec460...
Project: refine Commit: 4dd09123cb ℹ️
Status: Passed Duration: 22:09 💡
Started: Jun 21, 2024 9:52 AM Ended: Jun 21, 2024 10:14 AM

Review all test suite changes for PR #6064 ↗︎