gift: update UI and voucher & items BS
This commit is contained in:
@@ -5,6 +5,7 @@ import { useTranslation } from "react-i18next";
|
||||
import { Link, useNavigate, useParams } from "react-router-dom";
|
||||
import { useAppSelector } from "redux/hooks.ts";
|
||||
import styles from "./footer.module.css";
|
||||
import { OrderType } from "pages/checkout/hooks/types";
|
||||
|
||||
interface CartFooterProps {
|
||||
form: FormInstance;
|
||||
@@ -63,7 +64,9 @@ export default function CartFooter({ form }: CartFooterProps) {
|
||||
}}
|
||||
onClick={handleCheckoutClick}
|
||||
>
|
||||
{t("cart.checkout")}
|
||||
{orderType === OrderType.Gift
|
||||
? t("cart.continueToGiftDetails")
|
||||
: t("cart.checkout")}
|
||||
</Button>
|
||||
</Layout.Footer>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user