diff --git a/libs/orders/src/lib/components/order-list/order-list.tsx b/libs/orders/src/lib/components/order-list/order-list.tsx index 4826a6cb1..6e55d0d48 100644 --- a/libs/orders/src/lib/components/order-list/order-list.tsx +++ b/libs/orders/src/lib/components/order-list/order-list.tsx @@ -22,15 +22,15 @@ interface OrderListProps { export const OrderList = forwardRef( ({ data }, ref) => { - const [orderDialogOpen, setOrderDialogOpen] = useState(false); + const [cancelOrderDialogOpen, setCancelOrderDialogOpen] = useState(false); const { transaction, finalizedOrder, reset, cancel } = useOrderCancel(); return ( <> {transaction.txHash && (

- Tx hash:   + Waiting for few more blocks -   - {transaction.txHash} + View in block explorer

)} @@ -109,11 +110,7 @@ export const VegaOrderTransactionDialog = ({ return ( }> -
-
-

{t(`Status`)}

-

{t(`${finalizedOrder.status}`)}

-
+
{finalizedOrder.market && (

{t(`Market`)}

@@ -121,12 +118,12 @@ export const VegaOrderTransactionDialog = ({
)}
-

{t(`Type`)}

-

{t(`${finalizedOrder.type}`)}

+

{t(`Status`)}

+

{t(`${finalizedOrder.status}`)}

{t(`Amount`)}

-

+

{t( `${addDecimal( finalizedOrder.size,