mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-10-12 23:44:56 +00:00
Convert translator callbacks to async/await (#3048)
Co-authored-by: veeck <michael@veeck.de>
This commit is contained in:
@@ -485,8 +485,7 @@ const MM = (function () {
|
||||
|
||||
Log.setLogLevel(config.logLevel);
|
||||
|
||||
Translator.loadCoreTranslations(config.language);
|
||||
Loader.loadModules();
|
||||
Translator.loadCoreTranslations(config.language).then(() => Loader.loadModules());
|
||||
},
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user