Skip to content

Commit

Permalink
try to fix unexpected token issue
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Oct 12, 2024
1 parent badba25 commit 2139fd0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 15.0.3

- try to fix [unexpected token issue](https://github.com/i18next/next-i18next/issues/2302)

### 15.0.2

- try to fix Trans handling with alwaysFormat set to true [1801](https://github.com/i18next/react-i18next/issues/1801)
Expand Down
2 changes: 1 addition & 1 deletion react-i18next.js
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@
}
addUsedNamespaces(namespaces) {
namespaces.forEach(ns => {
this.usedNamespaces[ns] ??= true;
if (!this.usedNamespaces[ns]) this.usedNamespaces[ns] = true;
});
}
getUsedNamespaces() {
Expand Down
Loading

0 comments on commit 2139fd0

Please sign in to comment.