Skip to content

Commit

Permalink
fix: change the nextjs i18n config to use the locale defined on the f…
Browse files Browse the repository at this point in the history
…aststore.config.js file
  • Loading branch information
andrechism committed Jan 26, 2024
1 parent bbdd92c commit 1255227
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ const nextConfig = {
imageSizes: [34, 68, 154, 320],
},
i18n: {
locales: ['en-US'],
defaultLocale: 'en-US',
locales: [storeConfig.session.locale],
defaultLocale: storeConfig.session.locale,
},
sassOptions: {
additionalData: `@import "src/customizations/src/styles/custom-mixins.scss";`,
Expand Down

0 comments on commit 1255227

Please sign in to comment.