diff --git a/sub/project_settings/{{ cookiecutter.__folder_name }}/frontend/packages/{{ cookiecutter.frontend_addon_name }}/src/index.js b/sub/project_settings/{{ cookiecutter.__folder_name }}/frontend/packages/{{ cookiecutter.frontend_addon_name }}/src/index.js index e3170ed..8462435 100644 --- a/sub/project_settings/{{ cookiecutter.__folder_name }}/frontend/packages/{{ cookiecutter.frontend_addon_name }}/src/index.js +++ b/sub/project_settings/{{ cookiecutter.__folder_name }}/frontend/packages/{{ cookiecutter.frontend_addon_name }}/src/index.js @@ -1,11 +1,9 @@ const applyConfig = (config) => { - config.settings = { - ...config.settings, - isMultilingual: false, - supportedLanguages: ['{{ cookiecutter.language_code }}'], - defaultLanguage: '{{ cookiecutter.language_code }}', - }; + config.settings.isMultilingual = false; + config.settings.supportedLanguages = ["{{ cookiecutter.language_code }}"]; + config.settings.defaultLanguage = "{{ cookiecutter.language_code }}"; + return config; }; -export default applyConfig; \ No newline at end of file +export default applyConfig;