This commit is contained in:
zadit
2025-01-13 07:36:24 +07:00
parent 2864a00814
commit ba5c440a2a
7 changed files with 465 additions and 334 deletions

View File

@@ -85,7 +85,7 @@ const Modal = ({ user, shop, isOpen, onClose, modalContent, setModal, handleMove
{modalContent === "transaction_end" && <Transaction_end />}
{modalContent === "transaction_failed" && <Transaction_failed />}
{modalContent === "payment_option" && (
<PaymentOptions shopId={shop.cafeId} />
<PaymentOptions shop={shop} shopId={shop.cafeId} />
)}
{modalContent === "add_material" && (
<MaterialList handleClose={handleOverlayClick} cafeId={shop.cafeId} />