working on car card & car view BS
This commit is contained in:
@@ -20,6 +20,7 @@ import CustomerInformationCard from "./components/CustomerInformationCard";
|
||||
import Ads1 from "components/Ads/Ads1";
|
||||
import TimeEstimateCard from "pages/cart/components/timeEstimate/TimeEstimateCard";
|
||||
import { useEffect } from "react";
|
||||
import { CarCard } from "./components/CarCard";
|
||||
|
||||
export default function CheckoutPage() {
|
||||
const { t } = useTranslation();
|
||||
@@ -46,6 +47,7 @@ export default function CheckoutPage() {
|
||||
<Layout.Content className={styles.checkoutContainer}>
|
||||
{(orderType === OrderType.Pickup ||
|
||||
orderType === OrderType.ScheduledOrder) && <TimeEstimateCard />}
|
||||
{orderType === OrderType.Pickup && <CarCard />}
|
||||
{orderType === OrderType.Gift && <GiftCard />}
|
||||
<PaymentMethods />
|
||||
{!token && <CustomerInformationCard />}
|
||||
|
||||
Reference in New Issue
Block a user