(feature) Wording improvements (#1999)

* Fix reject and cancel button on Rejection modal

* change buttons labels on modal (Settings/Policies)

* fix Policies button align to the right

* change wording cancel for reject
This commit is contained in:
Agustín Longoni 2021-03-15 07:02:48 -03:00 committed by GitHub
parent 26de414e12
commit 2fd68c55ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View File

@ -199,8 +199,8 @@ export const ChangeThresholdModal = ({
)}
<Row align="center" className={classes.buttonRow}>
<Button minWidth={140} onClick={onClose}>
Back
<Button minWidth={140} onClick={onClose} color="secondary">
Cancel
</Button>
<Button
color="primary"
@ -209,7 +209,7 @@ export const ChangeThresholdModal = ({
variant="contained"
disabled={txEstimationExecutionStatus === EstimationStatus.LOADING}
>
Change
Submit
</Button>
</Row>
</>

View File

@ -57,7 +57,7 @@ const ThresholdSettings = (): React.ReactElement => {
onClick={toggleModal}
variant="contained"
>
Modify
Change
</Button>
</Row>
)}

View File

@ -396,8 +396,8 @@ export const ApproveTxModal = ({
{/* Footer */}
<Row align="center" className={classes.buttonRow}>
<Button minHeight={42} minWidth={140} onClick={onClose}>
Exit
<Button minHeight={42} minWidth={140} onClick={onClose} color="secondary">
Close
</Button>
<Button
color={isCancelTx ? 'secondary' : 'primary'}

View File

@ -103,7 +103,7 @@ export const RejectTxModal = ({ isOpen, onClose, gwTransaction }: Props): React.
<Block className={classes.container}>
<Row>
<Paragraph>
This action will cancel this transaction. A separate transaction will be performed to submit the
This action will reject this transaction. A separate transaction will be performed to submit the
rejection.
</Paragraph>
<Paragraph color="medium" size="sm">
@ -134,8 +134,8 @@ export const RejectTxModal = ({ isOpen, onClose, gwTransaction }: Props): React.
</Block>
)}
<Row align="center" className={classes.buttonRow}>
<Button minHeight={42} minWidth={140} onClick={onClose}>
Exit
<Button minHeight={42} minWidth={140} onClick={onClose} color="secondary">
Close
</Button>
<Button
color="secondary"