preserve cart & checkout elment on refersh
This commit is contained in:
@@ -55,7 +55,6 @@ export default function CardDetailsPage() {
|
||||
navigate(`/${subdomain}/checkout`);
|
||||
}, [subdomain]);
|
||||
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<ProHeader>{t("cardDetails.title")}</ProHeader>
|
||||
@@ -132,7 +131,7 @@ export default function CardDetailsPage() {
|
||||
layout="vertical"
|
||||
style={{ display: "flex", flexDirection: "column", gap: 16 }}
|
||||
>
|
||||
<GiftAmountCard />
|
||||
{giftDetails?.giftType !== "items" && <GiftAmountCard />}
|
||||
<ReceivernformationCard />
|
||||
<SenderformationCard />
|
||||
<TimeEstimateCard />
|
||||
|
||||
Reference in New Issue
Block a user