diff --git a/app/(main)/payment/page.tsx b/app/(main)/payment/page.tsx index 4aaed16..a466e18 100644 --- a/app/(main)/payment/page.tsx +++ b/app/(main)/payment/page.tsx @@ -31,8 +31,6 @@ export default function PaymentPage() { price: 0, } as MenuItemEntity); - const isCustomer = user?.role === "customer"; - return (
@@ -149,7 +147,7 @@ export default function PaymentPage() { diff --git a/components/molecules/cards/PaymentSummaryCard.tsx b/components/molecules/cards/PaymentSummaryCard.tsx index ff104c7..8866122 100644 --- a/components/molecules/cards/PaymentSummaryCard.tsx +++ b/components/molecules/cards/PaymentSummaryCard.tsx @@ -14,7 +14,6 @@ export default function PaymentSummaryCard({ }: PaymentSummaryCardProps) { const [isReviewOpen, setIsReviewOpen] = useState(false); const handlePayment = () => { - // UI-only: open review modal after "payment" if (isCustomer) { setIsReviewOpen(true); } @@ -52,22 +51,7 @@ export default function PaymentSummaryCard({ QR Code - {isCustomer && ( - - )} - - +