Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
Falsal committed Mar 2, 2024
1 parent d1a3d91 commit 19bc62e
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions src/components/TimeLine/ItineraryTourTimeLineContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ export default function ItineraryTourTimeLineContainer({
let array = connections.returns;
consoleLog("L90 ITTLC/ extractReturns array", array, true);
for (let index = 0; index < array.length; index++) {
//when index is 0 or 1 -> fill array twoReturns BUT use parseTourConnectionDescription
//when index is 0 or 1 -> fill array twoReturns BUT use parseTourConnectionDescription

if (index <= 1) {
consoleLog("L94 ITTLC/ extractReturns array[index]", array[index], true);
twoReturns[index] = jsonToStringArray(
Expand All @@ -108,20 +107,6 @@ export default function ItineraryTourTimeLineContainer({
);
consoleLog("L120 ITTLC/ extractReturns remainingReturns[index]", remainingReturns[index], true);
}
// if (index <= 1) {
// twoReturns[index] = parseTourConnectionDescription(
// array[index],
// "return_description_detail"
// );
// consoleLog("L98 ITTLC/ extractReturns twoReturns", twoReturns, true);
// }
//when index is > 1 -> fill array remainingReturns
// if (index > 1) {
// remainingReturns[index] = parseTourConnectionDescription(
// array[index],
// "return_description_detail"
// );
// }
}
return;
}
Expand Down

0 comments on commit 19bc62e

Please sign in to comment.