From a1d589c1a0d5a5010e5fe4e8a1ec403ffafb289f Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sun, 7 Dec 2025 23:33:10 +0100 Subject: Implement Renfe data source --- src/frontend/app/components/StopItemSkeleton.tsx | 2 +- src/frontend/app/components/StopSummarySheet.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frontend/app/components') diff --git a/src/frontend/app/components/StopItemSkeleton.tsx b/src/frontend/app/components/StopItemSkeleton.tsx index 68172fd..778b5e1 100644 --- a/src/frontend/app/components/StopItemSkeleton.tsx +++ b/src/frontend/app/components/StopItemSkeleton.tsx @@ -4,7 +4,7 @@ import "react-loading-skeleton/dist/skeleton.css"; interface StopItemSkeletonProps { showId?: boolean; - stopId?: number; + stopId?: string; } const StopItemSkeleton: React.FC = ({ diff --git a/src/frontend/app/components/StopSummarySheet.tsx b/src/frontend/app/components/StopSummarySheet.tsx index 17c0afd..e85dda3 100644 --- a/src/frontend/app/components/StopSummarySheet.tsx +++ b/src/frontend/app/components/StopSummarySheet.tsx @@ -26,7 +26,7 @@ interface ErrorInfo { } const loadConsolidatedData = async ( - stopId: number + stopId: string ): Promise => { const resp = await fetch( `${REGION_DATA.consolidatedCirculationsEndpoint}?stopId=${stopId}`, -- cgit v1.3