Description
In src/pages/SwapDetailPage.tsx the timeout row renders the same emoji for both the timed-out and pending-timeout states:
Both branches resolve to the same ⏱ hourglass character, so there is no visual distinction between a swap that has timed out and one that is approaching its timeout block.
Steps to Reproduce
- Open a swap detail page for a
TIMED_OUT swap.
- Observe the icon in the timeline timeout row.
- Compare with an
ACTIVE or FULFILLED swap near its timeout block.
- Both show the identical ⏱ icon — no visual differentiation.
Expected Behavior
The two states should use different icons (or colors already differentiate via error.main vs text.secondary, but the emoji itself conveys no additional meaning as-is).
Actual Behavior
Both branches of the conditional render the same ⏱ (U+23F1 STOPWATCH) character, making the ternary effectively dead code.
File
src/pages/SwapDetailPage.tsx, line 236
Description
In
src/pages/SwapDetailPage.tsxthe timeout row renders the same emoji for both the timed-out and pending-timeout states:Both branches resolve to the same ⏱ hourglass character, so there is no visual distinction between a swap that has timed out and one that is approaching its timeout block.
Steps to Reproduce
TIMED_OUTswap.ACTIVEorFULFILLEDswap near its timeout block.Expected Behavior
The two states should use different icons (or colors already differentiate via
error.mainvstext.secondary, but the emoji itself conveys no additional meaning as-is).Actual Behavior
Both branches of the conditional render the same
⏱(U+23F1 STOPWATCH) character, making the ternary effectively dead code.File
src/pages/SwapDetailPage.tsx, line 236