From 3cfccb1bb45f28a59d36e815b5d95207d40a0a96 Mon Sep 17 00:00:00 2001 From: Spythere Date: Wed, 2 Oct 2024 14:58:58 +0200 Subject: [PATCH] hotfix: data fetching --- src/store/apiStore.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/store/apiStore.ts b/src/store/apiStore.ts index 69f84e5..8502134 100644 --- a/src/store/apiStore.ts +++ b/src/store/apiStore.ts @@ -59,11 +59,7 @@ export const useApiStore = defineStore('apiStore', { if (t >= this.nextDataCheckTime) { this.fetchDonatorsData(); this.fetchVehiclesInfo(); - - // Revalidation after staling - this.fetchStationsGeneralInfo().then(() => { - this.fetchStationsGeneralInfo(); - }); + this.fetchStationsGeneralInfo(); this.nextDataCheckTime = t + 3600000; }