bug fix in imports\i18n\index.js

This commit is contained in:
nour guidara 2025-04-25 11:10:46 +01:00
parent 1bdbfe86bb
commit b390b266e2

View file

@ -2,13 +2,16 @@ import { TAPi18n } from './tap';
import './accounts';
import './moment';
if (Meteor.isClient) {
import './blaze';
}
export { TAPi18n };
(async () => {
await TAPi18n.init();
})();
if (Meteor.isClient) {
(async () => {
await import('./blaze');
await TAPi18n.init();
})();
} else {
(async () => {
await TAPi18n.init();
})();
}