style: clean up code with prettier and eslint

This commit is contained in:
openhands committed 2026-07-12 20:31:05 +02:00
1 parent 60278b9e71
commit fb8e77bb68
378 files changed
+22407 -20689

No files matched your search

+1 -4
View File
@@ -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;