aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/components/StopSummarySheet.tsx
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-12-08 12:04:25 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-12-08 12:04:25 +0100
commitb9bb62cf0c2af848bf02e2a74d9bd109ef570010 (patch)
tree9300e05dca96a39a06e8a38bf7ee91dcd7ec77ea /src/frontend/app/components/StopSummarySheet.tsx
parent107295575e3a7c37911ae192baf426b0003975a4 (diff)
Update formatting
Diffstat (limited to 'src/frontend/app/components/StopSummarySheet.tsx')
-rw-r--r--src/frontend/app/components/StopSummarySheet.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/app/components/StopSummarySheet.tsx b/src/frontend/app/components/StopSummarySheet.tsx
index e85dda3..55cbbd8 100644
--- a/src/frontend/app/components/StopSummarySheet.tsx
+++ b/src/frontend/app/components/StopSummarySheet.tsx
@@ -102,10 +102,10 @@ export const StopSheet: React.FC<StopSheetProps> = ({
// Show only the next 4 arrivals
const sortedData = data
? [...data].sort(
- (a, b) =>
- (a.realTime?.minutes ?? a.schedule?.minutes ?? 999) -
- (b.realTime?.minutes ?? b.schedule?.minutes ?? 999)
- )
+ (a, b) =>
+ (a.realTime?.minutes ?? a.schedule?.minutes ?? 999) -
+ (b.realTime?.minutes ?? b.schedule?.minutes ?? 999)
+ )
: [];
const limitedEstimates = sortedData.slice(0, 4);