This commit is contained in:
1 parent
e85e4d74ea
commit
2e4ed76121
378 files changed
+22404
-20686
No files matched your search
+1
-4
@@ -33,10 +33,7 @@ export default getRequestConfig(async () => {
|
||||
const fromEnglish = key
|
||||
.split(".")
|
||||
.reduce<unknown>(
|
||||
(o, k) =>
|
||||
o && typeof o === "object"
|
||||
? (o as Record<string, unknown>)[k]
|
||||
: undefined,
|
||||
(o, k) => (o && typeof o === "object" ? (o as Record<string, unknown>)[k] : undefined),
|
||||
fallback,
|
||||
);
|
||||
if (typeof fromEnglish === "string") return fromEnglish;
|
||||
|
||||
Reference in new issue
Block a user