From 87b8aceef13a8a02d7b6f1a325efbbf857f8974e Mon Sep 17 00:00:00 2001 From: Paul Schreiber Date: Mon, 25 Nov 2024 19:43:44 -0500 Subject: [PATCH] fix: simplify translation object (#2548) --- dev-client/src/translations/index.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dev-client/src/translations/index.ts b/dev-client/src/translations/index.ts index d66d6a6ef..df17bad0c 100644 --- a/dev-client/src/translations/index.ts +++ b/dev-client/src/translations/index.ts @@ -32,14 +32,10 @@ i18n.use(initReactI18next).init({ compatibilityJSON: 'v4', resources: { en: { - translation: { - ...en, - }, + translation: en, }, es: { - translation: { - ...es, - }, + translation: es, }, }, debug: __DEV__ && process.env.NODE_ENV !== 'test',