properly await promise

This commit is contained in:
Johann150 2022-10-19 15:26:37 +02:00
parent fbf7ea07c9
commit 4b6c3b2f37
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -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 { export class I18n {
public ts: Record<string, any>; public ts: Record<string, any>;