diff --git a/src/orders/components/OrderPayment/OrderPayment.tsx b/src/orders/components/OrderPayment/OrderPayment.tsx index 968ac7385..dcdaa71f9 100644 --- a/src/orders/components/OrderPayment/OrderPayment.tsx +++ b/src/orders/components/OrderPayment/OrderPayment.tsx @@ -159,7 +159,7 @@ const OrderPayment: React.FC = props => { )} - {maybe(() => order && order.discount.amount !== 0) ? ( + {maybe(() => order && order.discount.amount !== 0) && ( = props => { - - ) : null} + )} ({ canFinalize: true, created: "2018-09-20T23:23:39.811428+00:00", customerNote: "Lorem ipsum dolor sit", + discount: null, events: [], fulfillments: [], - discount: null, id: "T3JkZXI6MjQ=", lines: [ {