Remove rogue async breaking my loading screen
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Hamcha 2020-07-02 10:46:46 +02:00
parent bc0e467a88
commit 447473a5b7
Signed by: hamcha
GPG Key ID: 41467804B19A3315
1 changed files with 1 additions and 2 deletions

View File

@ -35,7 +35,7 @@ async function load() {
);
spinnerContainer.appendChild(icons);
const promises = sections.flatMap(async (section) => {
const promises = sections.flatMap((section) => {
manager.createSection(section.name);
return section.tabs.map(async (tab) => {
@ -60,7 +60,6 @@ async function load() {
Promise.all(promises).then(() => {
// Remove app-wide loading
manager.setLoading(false);
welcome.classList.add("active");
});
}