fix order state
This commit is contained in:
@@ -44,7 +44,7 @@ export function OrderDetail({ pk, walletAddress, onAccept, onReject, onCancel, o
|
|||||||
const od = order.data
|
const od = order.data
|
||||||
const ed = escrow?.data
|
const ed = escrow?.data
|
||||||
|
|
||||||
const stateEnum = ed?.state ?? EscrowState.Cancelled
|
const stateEnum = ed?.state ?? EscrowState.Complete
|
||||||
const stateLabel = escrowStateLabel(stateEnum)
|
const stateLabel = escrowStateLabel(stateEnum)
|
||||||
const sc = STATUS_COLORS[escrowStatusKey(stateEnum)]
|
const sc = STATUS_COLORS[escrowStatusKey(stateEnum)]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user