diff options
-rw-r--r-- | server/sonar-web/src/main/js/app/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/app/index.ts b/server/sonar-web/src/main/js/app/index.ts index f1bb44ebaba..aec5ae9aa27 100644 --- a/server/sonar-web/src/main/js/app/index.ts +++ b/server/sonar-web/src/main/js/app/index.ts @@ -59,7 +59,7 @@ function loadMessages() { function loadLocaleData(langToLoad: string) { return Promise.all([import('react-intl/locale-data/' + langToLoad), import('react-intl')]).then( ([intlBundle, intl]) => { - intl.addLocaleData(intlBundle); + intl.addLocaleData(intlBundle.default); } ); } |