Skip to content

Commit

Permalink
Merge pull request #173 from nr2f1/locale-fix
Browse files Browse the repository at this point in the history
fix: add missing dependency for locale matcher
  • Loading branch information
pataruco authored Jan 27, 2025
2 parents 6574782 + 3c13b86 commit 2221a55
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 25 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"@apollo/experimental-nextjs-app-support": "^0.11.7",
"@contentful/rich-text-react-renderer": "^16.0.0",
"@formatjs/intl-getcanonicallocales": "^2.5.4",
"@formatjs/intl-locale": "^4.2.9",
"@formatjs/intl-localematcher": "^0.5.10",
"@mui/base": "5.0.0-beta.64",
"formik": "^2.4.6",
Expand Down
78 changes: 53 additions & 25 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions website/src/middleware.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '@formatjs/intl-getcanonicallocales/polyfill';
import '@formatjs/intl-locale/polyfill';
import { match } from '@formatjs/intl-localematcher';
import { AVAILABLE_LOCALES, DEFAULT_LOCALE } from '@i18n/locales';
import Negotiator from 'negotiator';
Expand Down

0 comments on commit 2221a55

Please sign in to comment.