Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React/Sonar: void should not be used #11334

Merged
merged 1 commit into from
Nov 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -19,6 +19,9 @@ void i18n
backend: {
loadPath: '../assets/locales/{{ lng }}/{{ ns }}.json',
},
})
.catch(error => {
console.error('i18n initialization failed', error);
});

export default i18n;