We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e666dff commit 4441312Copy full SHA for 4441312
utils/getLanguage.ts
@@ -54,7 +54,6 @@ interface Language {
54
function linkLocale(locale: string) {
55
let linkedLocale: string
56
try {
57
- // @ts-ignore
58
linkedLocale = Intl.getCanonicalLocales(locale)[0]
59
} catch (error) {
60
console.log(`${error.toString()}\n`)
0 commit comments