Skip to content

Commit

Permalink
Update server.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
dobri1408 authored Feb 18, 2025
1 parent c1b18df commit caa8b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/volto/src/server.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function reactIntlErrorHandler(error) {
}

const supported =
config.settings.supportedLanguages.length > 0
config?.settings?.supportedLanguages?.length > 0
? new locale.Locales(config.settings.supportedLanguages, 'en')
: new locale.Locales(keys(languages), 'en');

Expand Down

0 comments on commit caa8b6a

Please sign in to comment.