Skip to content

Commit

Permalink
fix: use named import for IntlMessageFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisermann committed Sep 4, 2023
1 parent c903ec0 commit fc837dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/runtime/configs.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import IntlMessageFormat from 'intl-messageformat';
import { IntlMessageFormat } from 'intl-messageformat';

import { $locale, getCurrentLocale, getPossibleLocales } from './stores/locale';
import { hasLocaleQueue } from './modules/loaderQueue';
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/modules/formatters.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import IntlMessageFormat from 'intl-messageformat';
import { IntlMessageFormat } from 'intl-messageformat';

import { getCurrentLocale } from '../stores/locale';
import { getOptions } from '../configs';
Expand Down

0 comments on commit fc837dc

Please sign in to comment.