From 4c0db0aa7e6282a03f85db22c211f6a02382ba49 Mon Sep 17 00:00:00 2001 From: Quentin Date: Sun, 10 Nov 2024 16:22:30 +0100 Subject: [PATCH] React/Sonar: void should not be used --- .../generator/client/react/i18n/src/main/webapp/app/i18n.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/generator/client/react/i18n/src/main/webapp/app/i18n.ts b/src/main/resources/generator/client/react/i18n/src/main/webapp/app/i18n.ts index 7c8b4967634..2a914343dc6 100644 --- a/src/main/resources/generator/client/react/i18n/src/main/webapp/app/i18n.ts +++ b/src/main/resources/generator/client/react/i18n/src/main/webapp/app/i18n.ts @@ -4,7 +4,7 @@ import { initReactI18next } from 'react-i18next'; import LanguageDetector from 'i18next-browser-languagedetector'; import Backend from 'i18next-http-backend'; -void i18n +i18n .use(Backend) .use(LanguageDetector) .use(initReactI18next)