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(() => {}), - }, }; }, }));