Skip to content

Commit

Permalink
fix: adjust text of buttons in transfer modal (#1342)
Browse files Browse the repository at this point in the history
* fix: adjust text of buttons in transfer modal

* fix: adjust text

* Update src/components/tx/modals/NewTxModal/ReplacementModal.tsx

Co-authored-by: katspaugh <[email protected]>
  • Loading branch information
iamacook and katspaugh authored Dec 12, 2022
1 parent e5cbad1 commit 1229ef1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/tx/modals/NewTxModal/ReplacementModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const ReplacementModal = ({
<Grid container alignItems="center" justifyContent="center" flexDirection={flexDirection}>
<Grid item xs={12}>
<Typography variant="body2" textAlign="center" fontWeight={700} mb={3}>
Select the type of replacement transaction
Select how you would like to replace this transaction
</Typography>
</Grid>
<Grid
Expand Down Expand Up @@ -139,15 +139,15 @@ const ReplacementModal = ({
placement="top"
title={canCancel ? '' : `Transaction with nonce ${txNonce} already has a reject transaction`}
>
<span>
<span style={{ width: '100%' }}>
<Button
onClick={onRejectModalOpen}
variant="outlined"
fullWidth
sx={{ mb: 1, ...btnWidth }}
disabled={!canCancel}
>
Rejection transaction
Reject transaction
</Button>
</span>
</Tooltip>
Expand Down

0 comments on commit 1229ef1

Please sign in to comment.