revert fb8e77bb68
Local Build and Deploy / deploy (push) Successful in 1m11s
Local Build and Deploy / deploy (push) Successful in 1m11s
revert style: clean up code with prettier and eslint
This commit is contained in:
1 parent
27de078f54
commit
e85e4d74ea
378 files changed
+20710
-22428
No files matched your search
+4
-1
@@ -33,7 +33,10 @@ 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