aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/app/components')
-rw-r--r--src/frontend/app/components/StopItemSkeleton.tsx2
-rw-r--r--src/frontend/app/components/StopSummarySheet.tsx2
2 files changed, 2 insertions, 2 deletions
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<StopItemSkeletonProps> = ({
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<ConsolidatedCirculation[]> => {
const resp = await fetch(
`${REGION_DATA.consolidatedCirculationsEndpoint}?stopId=${stopId}`,