Skip to content

Commit fe3cd58

Browse files
committed
refactor(deposit): copy provider order id
1 parent fcaed94 commit fe3cd58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/UI/Ramp/Deposit/components/DepositOrderContent/DepositOrderContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const DepositOrderContent: React.FC<DepositOrderContentProps> = ({ order }) => {
9494
}
9595
}, [order?.data]);
9696

97-
const shortOrderId = providerOrderId.slice(-6);
97+
const shortOrderId = providerOrderId?.slice(-6) ?? order.id.slice(-6);
9898
const totalAmount =
9999
order.amount && order.fee
100100
? (

0 commit comments

Comments
 (0)