Skip to content

Commit

Permalink
feat: avoid at
Browse files Browse the repository at this point in the history
  • Loading branch information
Osman Minaz committed May 22, 2024
1 parent 8a70bfc commit a88964b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/pearl-chain/pearl-chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ export class SbbPearlChainElement extends LitElement {

const arrivalTime =
rideLegs?.length &&
removeTimezoneFromISOTimeString(rideLegs[rideLegs?.length - 1].arrival?.time);
removeTimezoneFromISOTimeString(rideLegs[rideLegs.length - 1].arrival?.time);
const arrivalTimeDelay = arrivalTime && {
time: arrivalTime,
delay: rideLegs.at(-1)?.arrival.delay || 0,
delay: rideLegs[rideLegs.length - 1]?.arrival.delay || 0,
};

const departureNotServiced = ((): string => {
Expand Down

0 comments on commit a88964b

Please sign in to comment.