Skip to content

Commit

Permalink
Fix lint in project frontend add-on and change to use direct mutations
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Dec 11, 2024
1 parent 7a2b499 commit 2d19eaf
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -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;
export default applyConfig;

0 comments on commit 2d19eaf

Please sign in to comment.