From 3b4c03e3374e5addd72478b6b90e7a6180d44fd9 Mon Sep 17 00:00:00 2001 From: Janne Antikainen Date: Fri, 20 Dec 2024 13:26:29 +0200 Subject: [PATCH] more pr fixes --- app/component/itinerary/navigator/NaviCardContainer.js | 2 +- app/component/itinerary/navigator/NaviUtils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/component/itinerary/navigator/NaviCardContainer.js b/app/component/itinerary/navigator/NaviCardContainer.js index 33548eca62..19e3d3851a 100644 --- a/app/component/itinerary/navigator/NaviCardContainer.js +++ b/app/component/itinerary/navigator/NaviCardContainer.js @@ -184,7 +184,7 @@ function NaviCardContainer( return () => clearTimeout(timeoutId); }, [time]); - // LegChange fires animation, we need to keep the old data until card goes ot of the view. + // LegChange fires animation, we need to keep the old data until card goes out of the view. const l = legChanging ? previousLeg : currentLeg; const legType = handleLegChange(l, firstLeg, time); diff --git a/app/component/itinerary/navigator/NaviUtils.js b/app/component/itinerary/navigator/NaviUtils.js index 15ea24fbc8..f305b805c7 100644 --- a/app/component/itinerary/navigator/NaviUtils.js +++ b/app/component/itinerary/navigator/NaviUtils.js @@ -368,7 +368,7 @@ export const getItineraryAlerts = ( content, id: `canceled-${legId}`, hideClose: true, - expiresOn: alert.effectiveEndDate, + expiresOn: alert.effectiveEndDate * 1000, }); } });