We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cf17be commit 4eb4c19Copy full SHA for 4eb4c19
__brick__/web/flutter_bootstrap.js
@@ -55,7 +55,10 @@ async function beginPreloading() {
55
}
56
57
async function loadBatch(urls) {
58
- const loadPromises = urls.map(url => load(url).then(reportProgress()));
+ const loadPromises = urls.map(async (url) => {
59
+ await load(url);
60
+ reportProgress();
61
+ });
62
try {
63
return await Promise.all(loadPromises);
64
} catch (error) {
0 commit comments