Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Feb 18, 2025
1 parent f8068d3 commit 71886a9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 15.4.1

fix: unique key warning on componentized element [1835](https://github.com/i18next/react-i18next/pull/1835)

### 15.4.0

feat: add meta with codes on warnings to allow conditional logging [1826](https://github.com/i18next/react-i18next/pull/1826)
Expand Down
4 changes: 3 additions & 1 deletion react-i18next.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,9 @@
function Componentized() {
return react.createElement(react.Fragment, null, comp);
}
return react.createElement(Componentized);
return react.createElement(Componentized, {
key: componentKey
});
};
const generateArrayComponents = (components, translation) => components.map((c, index) => fixComponentProps(c, index, translation));
const generateObjectComponents = (components, translation) => {
Expand Down
Loading

0 comments on commit 71886a9

Please sign in to comment.