Skip to content

Commit 34b4833

Browse files
authored
Merge pull request #835 from relayprotocol/ted/fe-8001-consistent-seconds-symbol
Display lowercase 's' for seconds on success screen
2 parents 4d4fccb + d830300 commit 34b4833

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.changeset/soft-teams-remain.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@relayprotocol/relay-kit-ui': patch
3+
---
4+
5+
Display lowercase 's' for seconds on success screen

packages/ui/src/components/common/TransactionModal/steps/SwapSuccessStep.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,7 @@ export const SwapSuccessStep: FC<SwapSuccessStepProps> = ({
434434
>
435435
{fillTime && fillTime !== '-' ? (
436436
<>
437-
Completed in{' '}
438-
<span className="green-time">{fillTime.replace(/s$/, 'S')}</span>
437+
Completed in <span className="green-time">{fillTime}</span>
439438
</>
440439
) : (
441440
'Transaction Completed'

0 commit comments

Comments
 (0)