Skip to content

Commit

Permalink
debug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianMF1 committed May 26, 2024
1 parent d52521d commit 7a410a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/flights/checkout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const Checkout = () => {
setFlightDetails(flightResponse.data.flight.flights);
console.log('Flight details:', flightResponse.data.flight.flights);

Check failure on line 24 in src/flights/checkout.jsx

View workflow job for this annotation

GitHub Actions / test-and-lint

Replace `'Flight·details:'` with `"Flight·details:"`
console.log(flightDetails);
console.log(flightDetails[0].departure_airport.id);
console.log(flightDetails[0].arrival_airport.id);
console.log(flightDetails.data[0].departure_airport.id);
console.log(flightDetails.data[0].arrival_airport.id);
} catch (error) {
console.error("Error fetching transaction:", error);
}
Expand Down

0 comments on commit 7a410a8

Please sign in to comment.