perf: optimize splash screen loading and remove unused telemetry code

This commit is contained in:
2026-02-26 09:09:25 -05:00
parent 787ac6e53e
commit d329336020
4 changed files with 31 additions and 20 deletions

View File

@ -206,8 +206,12 @@ onMounted(async () => {
})
async function loadInitialData() {
routes.value = await routesService.getAllRoutes()
allStops.value = await busStopsService.getAllBusStops()
const [routesData, stopsData] = await Promise.all([
routesService.getAllRoutes(),
busStopsService.getAllBusStops()
])
routes.value = routesData
allStops.value = stopsData
}
const availableStops = computed(() => {