Skip to content

Commit

Permalink
Refactor: comment out Map component in Checkout page
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Jan 2, 2025
1 parent 526376e commit f6c58a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/pages/Checkout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import Layout from '@/components/Layout'
import Error from '@/components/Error'
import DatePicker from '@/components/DatePicker'
import SocialLogin from '@/components/SocialLogin'
import Map from '@/components/Map'
// import Map from '@/components/Map'
import DriverLicense from '@/components/DriverLicense'
import Progress from '@/components/Progress'
import CheckoutStatus from '@/components/CheckoutStatus'
Expand Down Expand Up @@ -537,7 +537,7 @@ const Checkout = () => {
<form onSubmit={handleSubmit}>
<div>

{((pickupLocation.latitude && pickupLocation.longitude)
{/* {((pickupLocation.latitude && pickupLocation.longitude)
|| (pickupLocation.parkingSpots && pickupLocation.parkingSpots.length > 0)) && (
<Map
position={[pickupLocation.latitude || 34.0268755, pickupLocation.longitude || 1.6528399999999976]}
Expand All @@ -546,7 +546,7 @@ const Checkout = () => {
locations={[pickupLocation]}
className="map"
/>
)}
)} */}

<CarList
cars={[car]}
Expand Down

0 comments on commit f6c58a0

Please sign in to comment.