forked from FoundKeyGang/FoundKey
properly await promise
This commit is contained in:
parent
fbf7ea07c9
commit
4b6c3b2f37
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
const locales = import('../../../../locales/index.js').then(mod => mod.default);
|
||||
const locales = await import('../../../../locales/index.js').then(mod => mod.default);
|
||||
|
||||
export class I18n {
|
||||
public ts: Record<string, any>;
|
||||
|
|
Loading…
Reference in a new issue