plain-design 1.0.0-beta.61 → 1.0.0-beta.62
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.
package/package.json
CHANGED
@@ -203,7 +203,7 @@ export const i18n = (() => {
|
|
203
203
|
const val1 = lang1[key];
|
204
204
|
const val2 = lang2[key];
|
205
205
|
if (!!val1 && !!val2) {
|
206
|
-
if (typeof
|
206
|
+
if (typeof val1 === "object" && typeof val2 === "object") {
|
207
207
|
result[key] = merge(val1, val2);
|
208
208
|
} else {
|
209
209
|
result[key] = val2;
|