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, }); } });