fix order state

This commit is contained in:
thesn10
2026-06-27 15:13:36 +02:00
parent aac025e2a8
commit aafbc17e94

View File

@@ -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)]