forked from hamcha/tghandbook
Remove rogue async breaking my loading screen
This commit is contained in:
parent
bc0e467a88
commit
447473a5b7
1 changed files with 1 additions and 2 deletions
|
@ -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");
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue