Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Dec 19, 2024
1 parent 975e61d commit 7f63679
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/locale/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,6 @@ export async function dynamicActivate(locale: AppLanguage) {
case AppLanguage.km: {
i18n.loadAndActivate({locale, messages: messagesKm})
await Promise.all([
import('@formatjs/intl-datetimeformat/locale-data/km'),
import('@formatjs/intl-datetimeformat/locale-data/km'),
import('@formatjs/intl-pluralrules/locale-data/km'),
import('@formatjs/intl-numberformat/locale-data/km'),
])
Expand Down Expand Up @@ -218,7 +216,6 @@ export async function dynamicActivate(locale: AppLanguage) {
case AppLanguage.ro: {
i18n.loadAndActivate({locale, messages: messagesRo})
await Promise.all([
import('@formatjs/intl-datetimeformat/locale-data/ro'),
import('@formatjs/intl-pluralrules/locale-data/ro'),
import('@formatjs/intl-numberformat/locale-data/ro'),
])
Expand Down

0 comments on commit 7f63679

Please sign in to comment.