From 6c478a97d77c8c76e259e8d8242743b98027963f Mon Sep 17 00:00:00 2001 From: Adithya Ajith <4adhi007@gmail.com> Date: Thu, 8 Dec 2022 22:20:25 +0530 Subject: [PATCH] flight card added --- src/components/FlightCards/FlightCards.js | 8 ++++---- src/pages/PlaceDetailPage/PlaceDetailPage.js | 13 +++++-------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/components/FlightCards/FlightCards.js b/src/components/FlightCards/FlightCards.js index 54b5d16..590d570 100644 --- a/src/components/FlightCards/FlightCards.js +++ b/src/components/FlightCards/FlightCards.js @@ -5,16 +5,16 @@ function FlightCards({flight}) {
- Date: {train.next_date} + Date: {flight.next_date}
- Time: {train.train_time} + Time: {flight.flight_time}
- Cost: {train.cost} + Cost: {flight.cost}
Flight Name: {flight.flight_name}
-Flight Time: {flight.flight_time}
-Cost: {flight.cost}
-Next Date: {flight.next_date}
-