gt-next 4.3.0 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -197,7 +197,7 @@ function ClientProvider(_a) {
|
|
|
197
197
|
return renderTranslation(translation === null || translation === void 0 ? void 0 : translation[metadata === null || metadata === void 0 ? void 0 : metadata.hash]);
|
|
198
198
|
}, [dictionary, translations]);
|
|
199
199
|
// For <T> components
|
|
200
|
-
var _c = (0, client_1.
|
|
200
|
+
var _c = (0, client_1.useRuntimeTranslation)({
|
|
201
201
|
targetLocale: locale,
|
|
202
202
|
projectId: projectId,
|
|
203
203
|
devApiKey: devApiKey,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gt-next",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"description": "A Next.js library for automatic internationalization.",
|
|
5
5
|
"main": "dist/index.server.js",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -121,6 +121,6 @@
|
|
|
121
121
|
"dependencies": {
|
|
122
122
|
"@generaltranslation/supported-locales": "^1.1.2",
|
|
123
123
|
"generaltranslation": "^6.1.3",
|
|
124
|
-
"gt-react": "^8.2.
|
|
124
|
+
"gt-react": "^8.2.13"
|
|
125
125
|
}
|
|
126
126
|
}
|