Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: adjust text of buttons in transfer modal #1342

Merged
merged 3 commits into from
Dec 12, 2022
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
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