From 822f0e9f33b8711ac8a8b656a4778b7404a37e0b Mon Sep 17 00:00:00 2001
From: Ariel Costas Guerrero <ariel@costas.dev>
Date: Sun, 7 Sep 2025 19:35:19 +0200
Subject: Remove timeouts that shouldn't be there

---
 src/frontend/app/routes/estimates-$id.tsx | 6 ------
 1 file changed, 6 deletions(-)

(limited to 'src/frontend/app/routes/estimates-$id.tsx')

diff --git a/src/frontend/app/routes/estimates-$id.tsx b/src/frontend/app/routes/estimates-$id.tsx
index 4b232cb..dc45198 100644
--- a/src/frontend/app/routes/estimates-$id.tsx
+++ b/src/frontend/app/routes/estimates-$id.tsx
@@ -36,9 +36,6 @@ interface ErrorInfo {
 }
 
 const loadData = async (stopId: string): Promise<StopDetails> => {
-  // Add delay to see skeletons in action (remove in production)
-  await new Promise(resolve => setTimeout(resolve, 1000));
-
   const resp = await fetch(`/api/GetStopEstimates?id=${stopId}`, {
     headers: {
       Accept: "application/json",
@@ -53,9 +50,6 @@ const loadData = async (stopId: string): Promise<StopDetails> => {
 };
 
 const loadTimetableData = async (stopId: string): Promise<TimetableEntry[]> => {
-  // Add delay to see skeletons in action (remove in production)
-  await new Promise(resolve => setTimeout(resolve, 1500));
-
   const today = new Date().toISOString().split('T')[0]; // YYYY-MM-DD format
   const resp = await fetch(`/api/GetStopTimetable?date=${today}&stopId=${stopId}`, {
     headers: {
-- 
cgit v1.3

