diff --git a/ui/tx/details/TxDetailsWithdrawalStatus.tsx b/ui/tx/details/TxDetailsWithdrawalStatus.tsx index 04bc613315..0cde3177b4 100644 --- a/ui/tx/details/TxDetailsWithdrawalStatus.tsx +++ b/ui/tx/details/TxDetailsWithdrawalStatus.tsx @@ -23,12 +23,16 @@ const TxDetailsWithdrawalStatus = ({ status, l1TxHash }: Props) => { return null; } + const hasClaimButton = status === 'Ready for relay'; + + const steps = hasClaimButton ? WITHDRAWAL_STATUSES.slice(0, -1) : WITHDRAWAL_STATUSES; + const rightSlot = (() => { if (status === 'Relayed' && l1TxHash) { return ; } - if (status === 'Ready for relay') { + if (hasClaimButton) { return (