diff --git a/src/components/parking/ParkingViewServices.tsx b/src/components/parking/ParkingViewServices.tsx index 76abb31..e2a6cfa 100644 --- a/src/components/parking/ParkingViewServices.tsx +++ b/src/components/parking/ParkingViewServices.tsx @@ -30,7 +30,6 @@ const ParkingViewServices = ({ parkingdata }: { parkingdata: any }) => { if ( (parkingdata.fietsenstallingen_services === null || parkingdata.fietsenstallingen_services === undefined) - && !parkingdata.ExtraServices ) { return null } @@ -48,15 +47,6 @@ const ParkingViewServices = ({ parkingdata }: { parkingdata: any }) => { ); })} - {(parkingdata && parkingdata.ExtraServices) && <> - {parkingdata.ExtraServices.split(', ').map((service: string) => { - return ( -
- {service} -
- ); - })} - } @@ -64,3 +54,13 @@ const ParkingViewServices = ({ parkingdata }: { parkingdata: any }) => { }; export default ParkingViewServices; + +// {(parkingdata && parkingdata.ExtraServices) && <> +// {parkingdata.ExtraServices.split(', ').map((service: string) => { +// return ( +//
+// {service} +//
+// ); +// })} +// } \ No newline at end of file diff --git a/src/utils/parkings.tsx b/src/utils/parkings.tsx index 029ea61..1e1a334 100644 --- a/src/utils/parkings.tsx +++ b/src/utils/parkings.tsx @@ -88,7 +88,6 @@ export const formatOpeningTimes = ( ): React.ReactNode => { const wkday = new Date().getDay(); - console.log('parkingdata[getOpenTimeKey(day)]', parkingdata[getOpenTimeKey(day)]); const tmpopen: Date = new Date(parkingdata[getOpenTimeKey(day)]); const hoursopen = tmpopen.getHours() - 1;//TODO const minutesopen = String(tmpopen.getMinutes()).padStart(2, "0");