From 74d1ba4f94b8a150b277cc85c4c8b71f02ca26ec Mon Sep 17 00:00:00 2001 From: Quentin Date: Mon, 28 Oct 2024 21:27:36 +0100 Subject: [PATCH] React: remove unused property --- .../client/react/i18n/domain/ReactI18nModuleFactory.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/tech/jhipster/lite/generator/client/react/i18n/domain/ReactI18nModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/client/react/i18n/domain/ReactI18nModuleFactory.java index a438640c1c8..59d68cd6879 100644 --- a/src/main/java/tech/jhipster/lite/generator/client/react/i18n/domain/ReactI18nModuleFactory.java +++ b/src/main/java/tech/jhipster/lite/generator/client/react/i18n/domain/ReactI18nModuleFactory.java @@ -66,9 +66,6 @@ public JHipsterModule buildModule(JHipsterModuleProperties properties) { useTranslation: () => { return { t: vi.fn().mockImplementation((_str: string) => 'Internationalization enabled'), - i18n: { - changeLanguage: () => new Promise(() => {}), - }, }; }, }));