Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions src/pages/ReservationDetailPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,23 @@ const ReservationDetailPage: React.FC = () => {
)}
</Stack>

{/* Status helper — mirrors SwapDetailPage so reservation/swap pages read consistently */}
{r.status === 'ACTIVE' && fundsSeen && (
<Typography
sx={{
fontFamily: FONTS.mono,
fontSize: '0.8rem',
color: 'text.secondary',
mb: 3,
lineHeight: 1.5,
}}
>
Awaiting source-tx confirmations to verify legitimacy before
initiating the swap. The reservation may extend up to 2× while
validators wait for chain finality.
</Typography>
)}

{/* Lifecycle stepper */}
<Card>
<SectionTitle>Timeline</SectionTitle>
Expand All @@ -268,7 +285,7 @@ const ReservationDetailPage: React.FC = () => {
? r.status === 'EXPIRED'
? 'window closed before send'
: 'cancelled before send'
: 'send funds to the miner — usually within a block'
: 'send funds to the miner'
}
/>
<TimelineStep
Expand Down Expand Up @@ -322,29 +339,12 @@ const ReservationDetailPage: React.FC = () => {
color: 'text.secondary',
}}
>
Validators usually pick up the send within a block. The sender
address must match — mismatched txs are rejected.
Validators confirm within a few minutes.
</Typography>
</Stack>
</Card>
)}

{r.status === 'ACTIVE' && fundsSeen && (
<Card>
<Typography
sx={{
fontFamily: FONTS.mono,
fontSize: '0.75rem',
color: 'text.secondary',
}}
>
Awaiting source-tx confirmations to verify legitimacy before
initiating the swap. The reservation may extend up to 2× while
validators wait for chain finality.
</Typography>
</Card>
)}

{/* Details */}
<Card>
<Stack spacing={1.25}>
Expand Down
Loading