mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +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