Skip to content

Commit

Permalink
fix: removing old timetable management function
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianRid committed Jul 19, 2021
1 parent 5b06d76 commit 398f19f
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions tumeplay-app/src/screens/components/global/PointOfInterestCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,32 +56,6 @@ export default function PointOfInterestCard(props) {
createTimeTableObject(item)
}, [])

// function renderTimeTable() {
// var _return = [];
// var i = 0;

// for (const timetable in item.horaires) {
// const dayTable = item.horaires[timetable];
// let time = dayTable.am;
// if (dayTable.pm) {
// time = time + ' ' + dayTable.pm;
// }
// i = i + 1;

// _return.push(
// <Text key={i} style={[textStyle, {textTransform: 'capitalize'}]}>
// {timetable} : {time}
// </Text>,
// );
// }

// return (
// <View style={{height: localHeight, overflow: 'hidden', paddingLeft: 27}}>
// {_return}
// </View>
// );
// }

function displayTimeTable() {
if (localHeight > 0) {
setLocalHeight(0);
Expand Down

0 comments on commit 398f19f

Please sign in to comment.