Merge branch 'bluesky-social:main' into zh

This commit is contained in:
Kuwa Lee 2024-06-20 05:27:14 +08:00 committed by GitHub
commit e170447cc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 78 additions and 59 deletions

View file

@ -1,6 +1,10 @@
import '@formatjs/intl-locale/polyfill'
import '@formatjs/intl-pluralrules/polyfill-force' // Don't remove -force because detection is very slow
// Don't remove -force from these because detection is VERY slow on low-end Android.
// https://github.com/formatjs/formatjs/issues/4463#issuecomment-2176070577
import '@formatjs/intl-locale/polyfill-force'
import '@formatjs/intl-pluralrules/polyfill-force'
import '@formatjs/intl-numberformat/polyfill-force'
import '@formatjs/intl-pluralrules/locale-data/en'
import '@formatjs/intl-numberformat/locale-data/en'
import {useEffect} from 'react'
import {i18n} from '@lingui/core'