perf: eager preconnections and map loading to cut initial boot by 3s
This commit is contained in:
@ -221,7 +221,6 @@ function handleVisibilityChange() {
|
||||
|
||||
async function initializeMap() {
|
||||
await nextTick();
|
||||
await new Promise(resolve => setTimeout(resolve, 100));
|
||||
|
||||
initMap("map", mapStore.center, mapStore.zoom);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user